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.001119/0.001119, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001604/0.002723, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001071/0.001071, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001401/0.002472, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9438/0.9438, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08143/1.025, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.082e-06/1.082e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.255e-06/9.337e-06, allocations: 6.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.002953/0.002962, allocations: 3.693 MB / 248.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.004312, allocations: 1.483 MB / 249.9 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.004424, allocations: 8 kB / 249.9 MB, free: 9.023 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.005451, allocations: 0.797 MB / 250.7 MB, free: 8.223 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.005905, allocations: 377.8 kB / 251 MB, free: 7.852 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.006416, allocations: 0.5368 MB / 251.6 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.006716, allocations: 477.8 kB / 252.1 MB, free: 6.844 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004035/0.00712, allocations: 419 kB / 252.5 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.00739, allocations: 327.2 kB / 252.8 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.007573, allocations: 211.4 kB / 253 MB, free: 5.902 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.007614, allocations: 44 kB / 253 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002531/0.007867, allocations: 223.6 kB / 253.2 MB, free: 5.641 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.007914, allocations: 79.75 kB / 253.3 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.497e-05/0.007999, allocations: 127.8 kB / 253.5 MB, free: 5.438 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.008395, allocations: 478.2 kB / 253.9 MB, free: 4.969 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.008405, allocations: 0 / 253.9 MB, free: 4.969 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.008406, allocations: 0 / 253.9 MB, free: 4.969 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.008415, allocations: 4 kB / 253.9 MB, free: 4.965 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001193/0.009608, allocations: 1.027 MB / 254.9 MB, free: 3.895 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.561e-05/0.009633, allocations: 16.03 kB / 255 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.01138, allocations: 0.6446 MB / 255.6 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.0116, allocations: 188.8 kB / 255.8 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.01162, allocations: 37.69 kB / 255.8 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.01168, allocations: 64.36 kB / 255.9 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.01202, allocations: 385.3 kB / 256.3 MB, free: 2.539 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.01203, allocations: 4.141 kB / 256.3 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.01206, allocations: 28.12 kB / 256.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.01207, allocations: 12 kB / 256.3 MB, free: 2.496 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.01232, allocations: 234.3 kB / 256.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.01388, allocations: 1.217 MB / 257.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.01451, allocations: 0.5019 MB / 258.3 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.01465, allocations: 140.6 kB / 258.4 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.0147, allocations: 24.42 kB / 258.4 MB, free: 336 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.01472, allocations: 39.06 kB / 258.5 MB, free: 288 kB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 1.613e-06/0.01473, allocations: 0 / 258.5 MB, free: 288 kB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.0005996/0.01533, allocations: 386.6 kB / 258.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.01535, allocations: 55.91 kB / 258.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/0.01543, allocations: 165.1 kB / 259.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.01545, allocations: 37.7 kB / 259.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.01553, allocations: 221 kB / 259.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.84e-05/0.01561, allocations: 162.6 kB / 259.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-05/0.01568, allocations: 86.09 kB / 259.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.01576, allocations: 338.8 kB / 259.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-05/0.01581, allocations: 52.97 kB / 259.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.0159, allocations: 138 kB / 260.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.01609, allocations: 257.7 kB / 260.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01609, allocations: 0 / 260.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003026/0.01639, allocations: 303.2 kB / 260.6 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.01641, allocations: 8 kB / 260.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01641, allocations: 3.984 kB / 260.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002265/0.01664, allocations: 92.81 kB / 260.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.01685, allocations: 107.8 kB / 260.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007883/0.01764, allocations: 1.374 MB / 262.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.01774, allocations: 43.67 kB / 262.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.01776, allocations: 15.98 kB / 262.3 MB, free: 12.27 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 8.585e-05/0.01784, allocations: 133.7 kB / 262.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.01788, allocations: 39.91 kB / 262.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.01823, allocations: 318.2 kB / 262.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01823, allocations: 8 kB / 262.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01823, allocations: 4 kB / 262.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.01824, allocations: 0 / 262.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.01882, allocations: 0.6273 MB / 263.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01882, allocations: 3.938 kB / 263.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.019, allocations: 87.89 kB / 263.5 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.973e-05/0.01902, allocations: 27.73 kB / 263.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001805/0.0192, allocations: 89.06 kB / 263.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.01922, allocations: 8 kB / 263.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009409/0.02016, allocations: 1.374 MB / 265 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.02016, allocations: 7.938 kB / 265 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.02053, allocations: 465.5 kB / 265.4 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.02055, allocations: 12 kB / 265.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.355e-05/0.02064, allocations: 12 kB / 265.4 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.02069, allocations: 40.42 kB / 265.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.02071, allocations: 8 kB / 265.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.12e-05/0.02074, allocations: 49.34 kB / 265.5 MB, free: 8.809 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02074, allocations: 0 / 265.5 MB, free: 8.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.02099, allocations: 147.7 kB / 265.7 MB, free: 8.664 MB / 266.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.0001496/0.02114, allocations: 124.3 kB / 265.8 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003635/0.0215, allocations: 402.1 kB / 266.2 MB, free: 8.129 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.02151, allocations: 4 kB / 266.2 MB, free: 8.125 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.02174, allocations: 321 kB / 266.5 MB, free: 7.797 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.02195, allocations: 170.8 kB / 266.7 MB, free: 7.605 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.02543, allocations: 0.7449 MB / 267.4 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.296e-05/0.02549, allocations: 114.1 kB / 267.5 MB, free: 6.691 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.0256, allocations: 46.95 kB / 267.6 MB, free: 6.645 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.02571, allocations: 99.34 kB / 267.7 MB, free: 6.547 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02571, allocations: 0 / 267.7 MB, free: 6.547 MB / 266.7 MB Notification: Performance of Templates: time 0.006469/0.03218, allocations: 4.749 MB / 272.4 MB, free: 1.84 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5380051834508777]