Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 80.31 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 170.2 kB / 25.61 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9386/0.9386, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 3.938 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.16e-05, allocations: 8.344 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004168/0.004189, allocations: 3.599 MB / 277.8 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.005897, allocations: 1.428 MB / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.006062, allocations: 8 kB / 279.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.007362, allocations: 0.7845 MB / 280 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005903/0.007952, allocations: 377.8 kB / 280.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.008659, allocations: 0.533 MB / 280.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.009022, allocations: 473.7 kB / 281.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005488/0.009571, allocations: 414.2 kB / 281.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003872/0.009958, allocations: 327.2 kB / 282.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.01021, allocations: 207.4 kB / 282.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.284e-05/0.01026, allocations: 51.94 kB / 282.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.01055, allocations: 203.7 kB / 282.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.01062, allocations: 107.6 kB / 282.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.01073, allocations: 167.6 kB / 282.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005321/0.01127, allocations: 0.506 MB / 283.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.01127, allocations: 7.938 kB / 283.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01127, allocations: 0 / 283.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.01128, allocations: 0 / 283.3 MB, free: 11.25 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.001299/0.01257, allocations: 0.9601 MB / 284.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.01262, allocations: 8.031 kB / 284.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.01449, allocations: 0.582 MB / 284.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.0148, allocations: 263.8 kB / 285.1 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.01483, allocations: 41.69 kB / 285.2 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/0.0149, allocations: 52.38 kB / 285.2 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.01532, allocations: 381.4 kB / 285.6 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.01534, allocations: 4.188 kB / 285.6 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.01538, allocations: 24.12 kB / 285.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.01539, allocations: 12 kB / 285.6 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.01572, allocations: 282.1 kB / 285.9 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.01743, allocations: 1.502 MB / 287.4 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008318/0.01826, allocations: 0.5498 MB / 288 MB, free: 6.465 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.01844, allocations: 153 kB / 288.1 MB, free: 6.309 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.642e-05/0.0185, allocations: 24.48 kB / 288.1 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.01852, allocations: 41.89 kB / 288.2 MB, free: 6.234 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.924e-06/0.01853, allocations: 0 / 288.2 MB, free: 6.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0007955/0.01932, allocations: 460.3 kB / 288.6 MB, free: 5.773 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.01935, allocations: 55.91 kB / 288.7 MB, free: 5.707 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.01948, allocations: 230.4 kB / 288.9 MB, free: 5.465 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.01951, allocations: 37.7 kB / 289 MB, free: 5.422 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.01963, allocations: 267.7 kB / 289.2 MB, free: 5.152 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.751e-05/0.01972, allocations: 174.5 kB / 289.4 MB, free: 4.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.97e-05/0.01982, allocations: 95.8 kB / 289.5 MB, free: 4.879 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.01996, allocations: 0.504 MB / 290 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.02004, allocations: 64.95 kB / 290 MB, free: 4.301 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.02017, allocations: 182.2 kB / 290.2 MB, free: 4.082 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.02042, allocations: 282.2 kB / 290.5 MB, free: 3.766 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.02043, allocations: 4 kB / 290.5 MB, free: 3.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004525/0.02088, allocations: 392.9 kB / 290.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.0209, allocations: 8 kB / 290.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.0209, allocations: 0 / 290.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002536/0.02116, allocations: 91.55 kB / 291 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.02136, allocations: 99.88 kB / 291.1 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.02247, allocations: 1.956 MB / 293 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.0226, allocations: 43.67 kB / 293.1 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.02262, allocations: 16 kB / 293.1 MB, free: 1.039 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.02274, allocations: 176.5 kB / 293.3 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.0228, allocations: 43.8 kB / 293.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000474/0.02327, allocations: 396 kB / 293.7 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.02328, allocations: 4 kB / 293.7 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.02328, allocations: 0 / 293.7 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.02329, allocations: 0 / 293.7 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008523/0.02414, allocations: 0.8412 MB / 294.5 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02414, allocations: 0 / 294.5 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.02431, allocations: 75.91 kB / 294.6 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002003/0.02451, allocations: 91.64 kB / 294.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.02453, allocations: 12 kB / 294.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.02555, allocations: 1.956 MB / 296.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.02555, allocations: 3.938 kB / 296.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.02612, allocations: 0.5793 MB / 297.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.02614, allocations: 27.78 kB / 297.3 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.02616, allocations: 12 kB / 297.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.02627, allocations: 16.06 kB / 297.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.02634, allocations: 44.34 kB / 297.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.02635, allocations: 12 kB / 297.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.328e-05/0.02641, allocations: 157.3 kB / 297.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02641, allocations: 0 / 297.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003542/0.02677, allocations: 159.5 kB / 297.7 MB, free: 12.24 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001905/0.02696, allocations: 139.1 kB / 297.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005373/0.0275, allocations: 491.6 kB / 298.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.0275, allocations: 0 / 298.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.02777, allocations: 353.2 kB / 298.6 MB, free: 11.22 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.028, allocations: 34.73 kB / 298.7 MB, free: 11.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.02901, allocations: 0.7483 MB / 299.4 MB, free: 10.4 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.449e-05/0.02908, allocations: 110.2 kB / 299.5 MB, free: 10.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.0292, allocations: 46.95 kB / 299.6 MB, free: 10.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.02932, allocations: 118.2 kB / 299.7 MB, free: 10.11 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02933, allocations: 0 / 299.7 MB, free: 10.11 MB / 282.7 MB Notification: Performance of Templates: time 0.007325/0.03665, allocations: 4.859 MB / 304.5 MB, free: 5.312 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.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.813196278642863]