Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009259/0.0009259, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 146.8 kB / 24.89 MB, free: 8.781 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9215/0.9215, allocations: 173.3 MB / 201.5 MB, free: 9.172 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 268.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.296e-05, allocations: 2.312 kB / 268.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004526/0.004539, allocations: 3.596 MB / 272.1 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.006838, allocations: 1.428 MB / 273.5 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.007017, allocations: 12 kB / 273.5 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.008418, allocations: 0.7931 MB / 274.3 MB, free: 324 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.009446, allocations: 0.5361 MB / 274.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006934/0.01014, allocations: 397.5 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005143/0.01065, allocations: 481.7 kB / 275.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000568/0.01122, allocations: 383.9 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004079/0.01163, allocations: 291.4 kB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.01192, allocations: 215.4 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.312e-05/0.01198, allocations: 44 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.01234, allocations: 199.7 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.553e-05/0.01243, allocations: 103.6 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.01258, allocations: 159.5 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.01322, allocations: 0.5059 MB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01322, allocations: 0 / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01322, allocations: 0 / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.01323, allocations: 0 / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001674/0.0149, allocations: 0.8471 MB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.01493, allocations: 8.031 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.01728, allocations: 0.668 MB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.01749, allocations: 197 kB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.01752, allocations: 41.69 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.01757, allocations: 52.38 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.0179, allocations: 385.4 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.01792, allocations: 192 / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.01795, allocations: 28.06 kB / 279.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.01796, allocations: 16 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.01821, allocations: 234.3 kB / 280 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.01947, allocations: 1.179 MB / 281.2 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.0201, allocations: 0.5027 MB / 281.7 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.529e-05/0.02019, allocations: 93.28 kB / 281.8 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.02024, allocations: 24.48 kB / 281.8 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.02026, allocations: 39 kB / 281.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.733e-06/0.02026, allocations: 0 / 281.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006546/0.02091, allocations: 430.5 kB / 282.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.02093, allocations: 55.91 kB / 282.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.615e-05/0.02102, allocations: 158.5 kB / 282.5 MB, free: 7.941 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.02104, allocations: 37.69 kB / 282.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.02111, allocations: 221 kB / 282.7 MB, free: 7.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.194e-05/0.02119, allocations: 166.6 kB / 282.9 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.02126, allocations: 82.11 kB / 283 MB, free: 7.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.02134, allocations: 342.8 kB / 283.3 MB, free: 7.082 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.0214, allocations: 52.97 kB / 283.4 MB, free: 7.031 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.175e-05/0.02149, allocations: 128.3 kB / 283.5 MB, free: 6.879 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.02167, allocations: 232.6 kB / 283.7 MB, free: 6.629 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02167, allocations: 8 kB / 283.7 MB, free: 6.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0002976/0.02197, allocations: 303 kB / 284 MB, free: 6.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.02198, allocations: 4 kB / 284 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.02199, allocations: 4 kB / 284 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.0222, allocations: 96.94 kB / 284.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.02237, allocations: 83.89 kB / 284.2 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000875/0.02324, allocations: 1.598 MB / 285.8 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.02335, allocations: 43.72 kB / 285.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.02336, allocations: 12 kB / 285.8 MB, free: 4.387 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.202e-05/0.02346, allocations: 133.8 kB / 286 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.02349, allocations: 31.97 kB / 286 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.02382, allocations: 314.2 kB / 286.3 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.02383, allocations: 4 kB / 286.3 MB, free: 3.895 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.02383, allocations: 7.938 kB / 286.3 MB, free: 3.887 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.02384, allocations: 7.984 kB / 286.3 MB, free: 3.879 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005735/0.02441, allocations: 0.6028 MB / 286.9 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.02441, allocations: 0 / 286.9 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.02456, allocations: 75.91 kB / 287 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001645/0.02473, allocations: 84.91 kB / 287.1 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.02474, allocations: 8 kB / 287.1 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008226/0.02556, allocations: 1.59 MB / 288.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.02556, allocations: 0 / 288.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.02594, allocations: 451.5 kB / 289.1 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.02596, allocations: 35.73 kB / 289.2 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.02598, allocations: 11.94 kB / 289.2 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-05/0.02607, allocations: 15.98 kB / 289.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.02611, allocations: 36.44 kB / 289.2 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.02613, allocations: 7.984 kB / 289.2 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.017e-05/0.02616, allocations: 42.3 kB / 289.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02616, allocations: 4.031 kB / 289.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002898/0.02645, allocations: 147.7 kB / 289.4 MB, free: 0.6445 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001289/0.02658, allocations: 120.3 kB / 289.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000348/0.02692, allocations: 385.7 kB / 289.9 MB, free: 136 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.02693, allocations: 4.438 kB / 289.9 MB, free: 132 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.08015/0.1071, allocations: 287.1 kB / 290.2 MB, free: 26.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.1073, allocations: 38.3 kB / 290.2 MB, free: 26.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1083, allocations: 0.716 MB / 291 MB, free: 25.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.858e-05/0.1084, allocations: 110.5 kB / 291.1 MB, free: 25.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.1085, allocations: 43.89 kB / 291.1 MB, free: 25.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.1086, allocations: 94.89 kB / 291.2 MB, free: 25.69 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.1086, allocations: 4.344 kB / 291.2 MB, free: 25.69 MB / 266.7 MB Notification: Performance of Templates: time 0.006689/0.1153, allocations: 4.545 MB / 295.8 MB, free: 25.33 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.616657971870154]