Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.001778/0.001778, allocations: 80.92 kB / 22.28 MB, free: 2.207 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.001096/0.001096, allocations: 166.5 kB / 25.7 MB, free: 8.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8224/0.8224, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.27e-05, allocations: 6.25 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004916/0.004939, allocations: 3.634 MB / 255.2 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.006871, allocations: 1.468 MB / 256.6 MB, free: 2.129 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.007039, allocations: 8 kB / 256.6 MB, free: 2.121 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.00817, allocations: 0.8047 MB / 257.4 MB, free: 1.312 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006341/0.008804, allocations: 409.8 kB / 257.8 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.009394, allocations: 0.5291 MB / 258.4 MB, free: 388 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000385/0.009778, allocations: 0.4937 MB / 258.9 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003961/0.01017, allocations: 387.9 kB / 259.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.01047, allocations: 323.1 kB / 259.6 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.01067, allocations: 227.4 kB / 259.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.01071, allocations: 44 kB / 259.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.01099, allocations: 195.7 kB / 260 MB, free: 14.72 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.01105, allocations: 115.6 kB / 260.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.01115, allocations: 167.5 kB / 260.3 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.01163, allocations: 0.5098 MB / 260.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.01163, allocations: 0 / 260.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01163, allocations: 0 / 260.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.01163, allocations: 3.938 kB / 260.8 MB, free: 13.93 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001163/0.0128, allocations: 0.8783 MB / 261.7 MB, free: 13.03 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.01283, allocations: 11.98 kB / 261.7 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.01502, allocations: 0.8162 MB / 262.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.01527, allocations: 181.2 kB / 262.7 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.0153, allocations: 45.69 kB / 262.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.935e-05/0.01536, allocations: 60.36 kB / 262.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.01574, allocations: 413.3 kB / 263.2 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.01575, allocations: 192 / 263.2 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.01579, allocations: 27.94 kB / 263.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.01579, allocations: 12 kB / 263.2 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.01607, allocations: 262.2 kB / 263.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.0177, allocations: 1.26 MB / 264.7 MB, free: 9.859 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007412/0.01845, allocations: 0.589 MB / 265.3 MB, free: 9.262 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/0.01854, allocations: 102.3 kB / 265.4 MB, free: 9.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.01859, allocations: 12.5 kB / 265.4 MB, free: 9.145 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.01861, allocations: 43.05 kB / 265.5 MB, free: 9.094 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 2.655e-06/0.01861, allocations: 0 / 265.5 MB, free: 9.094 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006743/0.01929, allocations: 430.5 kB / 265.9 MB, free: 8.668 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.01931, allocations: 67.84 kB / 266 MB, free: 8.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.01942, allocations: 178.5 kB / 266.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.01944, allocations: 33.7 kB / 266.2 MB, free: 8.363 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.01952, allocations: 244.7 kB / 266.4 MB, free: 8.117 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/0.0196, allocations: 174.5 kB / 266.6 MB, free: 7.945 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.881e-05/0.01969, allocations: 102.2 kB / 266.7 MB, free: 7.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.01977, allocations: 338.7 kB / 267 MB, free: 7.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.01983, allocations: 57.28 kB / 267.1 MB, free: 7.445 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.01995, allocations: 178.9 kB / 267.3 MB, free: 7.227 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.02016, allocations: 285.7 kB / 267.5 MB, free: 6.902 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.02017, allocations: 4 kB / 267.5 MB, free: 6.898 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000355/0.02052, allocations: 334.9 kB / 267.9 MB, free: 6.562 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.02054, allocations: 8.406 kB / 267.9 MB, free: 6.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.02055, allocations: 8 kB / 267.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002311/0.02078, allocations: 92.66 kB / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.02098, allocations: 103.9 kB / 268.1 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009902/0.02197, allocations: 1.59 MB / 269.7 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.0221, allocations: 55.62 kB / 269.7 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.02212, allocations: 20.03 kB / 269.7 MB, free: 4.605 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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 0.0001074/0.02223, allocations: 145.6 kB / 269.9 MB, free: 4.453 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.02228, allocations: 31.92 kB / 269.9 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.02265, allocations: 323 kB / 270.2 MB, free: 4.098 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.02266, allocations: 4 kB / 270.2 MB, free: 4.094 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.02266, allocations: 4 kB / 270.2 MB, free: 4.09 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.02267, allocations: 3.984 kB / 270.2 MB, free: 4.086 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007185/0.02338, allocations: 0.6144 MB / 270.9 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.02339, allocations: 8 kB / 270.9 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.02356, allocations: 75.89 kB / 270.9 MB, free: 3.359 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002005/0.02376, allocations: 84.73 kB / 271 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.02378, allocations: 8 kB / 271 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.02494, allocations: 1.587 MB / 272.6 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.02494, allocations: 8.031 kB / 272.6 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.02536, allocations: 471.3 kB / 273.1 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.02539, allocations: 31.69 kB / 273.1 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.02541, allocations: 12 kB / 273.1 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.707e-05/0.02551, allocations: 12 kB / 273.1 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.02556, allocations: 36.42 kB / 273.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.02558, allocations: 12 kB / 273.2 MB, free: 1.004 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.795e-05/0.02562, allocations: 49.89 kB / 273.2 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02562, allocations: 0 / 273.2 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004104/0.02603, allocations: 163.6 kB / 273.4 MB, free: 0.793 MB / 250.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 (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,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.0001759/0.0262, allocations: 120.3 kB / 273.5 MB, free: 0.668 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004244/0.02663, allocations: 410.6 kB / 273.9 MB, free: 264 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.02663, allocations: 8.062 kB / 273.9 MB, free: 256 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.02686, allocations: 291.3 kB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.02705, allocations: 35.98 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.02817, allocations: 0.7587 MB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.106e-05/0.02824, allocations: 118.5 kB / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.02836, allocations: 46.95 kB / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.02848, allocations: 103.3 kB / 275.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02848, allocations: 4 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Templates: time 0.007191/0.03568, allocations: 4.677 MB / 279.9 MB, free: 10.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/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.5572429532185197]