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.0008884/0.0008884, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0008842/0.0008842, allocations: 169.9 kB / 24.92 MB, free: 9.184 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.8476/0.8476, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.072e-06/1.072e-06, allocations: 3.938 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.047e-06/1.012e-05, allocations: 2.312 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003293/0.003304, allocations: 3.625 MB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.004761, allocations: 1.471 MB / 278.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.004882, allocations: 12 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009085/0.00579, allocations: 0.8009 MB / 279.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005008/0.006291, allocations: 393.8 kB / 279.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.006823, allocations: 0.5253 MB / 280.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.007133, allocations: 485.7 kB / 280.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000417/0.00755, allocations: 442.8 kB / 281.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.007819, allocations: 311.3 kB / 281.5 MB, free: 9.223 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.008005, allocations: 219.4 kB / 281.7 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.008046, allocations: 51.94 kB / 281.7 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.008269, allocations: 203.7 kB / 281.9 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.008324, allocations: 107.6 kB / 282 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003221/0.008646, allocations: 163.6 kB / 282.2 MB, free: 8.492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004278/0.009074, allocations: 0.5099 MB / 282.7 MB, free: 7.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.009076, allocations: 3.938 kB / 282.7 MB, free: 7.977 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.009076, allocations: 0 / 282.7 MB, free: 7.977 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.00908, allocations: 0 / 282.7 MB, free: 7.977 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.001137/0.01022, allocations: 0.8666 MB / 283.6 MB, free: 7.086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.01025, allocations: 8.031 kB / 283.6 MB, free: 7.078 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.01209, allocations: 0.6562 MB / 284.2 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.01228, allocations: 169.2 kB / 284.4 MB, free: 6.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.0123, allocations: 45.69 kB / 284.5 MB, free: 6.188 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.01236, allocations: 52.33 kB / 284.5 MB, free: 6.137 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.0127, allocations: 393.3 kB / 284.9 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.01272, allocations: 192 / 284.9 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.01275, allocations: 28.12 kB / 284.9 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.01276, allocations: 16 kB / 284.9 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.01302, allocations: 238.2 kB / 285.2 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.01437, allocations: 1.209 MB / 286.4 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.01504, allocations: 0.4907 MB / 286.9 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.01518, allocations: 134.2 kB / 287 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.01523, allocations: 32.39 kB / 287 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.01525, allocations: 47 kB / 287.1 MB, free: 3.477 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.412e-06/0.01525, allocations: 4 kB / 287.1 MB, free: 3.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0005861/0.01584, allocations: 374.6 kB / 287.4 MB, free: 3.098 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.01586, allocations: 59.91 kB / 287.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.967e-05/0.01594, allocations: 165.1 kB / 287.7 MB, free: 2.855 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.01596, allocations: 33.7 kB / 287.7 MB, free: 2.816 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/0.01603, allocations: 221 kB / 287.9 MB, free: 2.594 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.26e-05/0.0161, allocations: 170.5 kB / 288.1 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-05/0.01618, allocations: 90.09 kB / 288.2 MB, free: 2.332 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.988e-05/0.01625, allocations: 334.8 kB / 288.5 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/0.01631, allocations: 52.97 kB / 288.5 MB, free: 1.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.623e-05/0.01641, allocations: 145.9 kB / 288.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.01661, allocations: 245.8 kB / 288.9 MB, free: 1.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01661, allocations: 0 / 288.9 MB, free: 1.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003123/0.01692, allocations: 303.3 kB / 289.2 MB, free: 1.195 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.01693, allocations: 12 kB / 289.2 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.01694, allocations: 0 / 289.2 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004362/0.01737, allocations: 80.67 kB / 289.3 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.01756, allocations: 99.88 kB / 289.4 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08325/0.1008, allocations: 1.362 MB / 290.8 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.101, allocations: 36.91 kB / 290.8 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.101, allocations: 16.09 kB / 290.8 MB, free: 20.63 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.0001189/0.1011, allocations: 140.5 kB / 291 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.1012, allocations: 30.62 kB / 291 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.1016, allocations: 312.9 kB / 291.3 MB, free: 20.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1016, allocations: 11.58 kB / 291.3 MB, free: 20.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1016, allocations: 1.125 kB / 291.3 MB, free: 20.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1016, allocations: 4.281 kB / 291.3 MB, free: 20.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.1023, allocations: 0.6264 MB / 291.9 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1023, allocations: 1.281 kB / 291.9 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.1024, allocations: 77.19 kB / 292 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.1026, allocations: 78.59 kB / 292.1 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1026, allocations: 10.81 kB / 292.1 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005736/0.1032, allocations: 1.373 MB / 293.5 MB, free: 19.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1032, allocations: 2.312 kB / 293.5 MB, free: 19.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.1036, allocations: 467.4 kB / 293.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.1036, allocations: 28.31 kB / 294 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1037, allocations: 11.25 kB / 294 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1038, allocations: 13.16 kB / 294 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.1038, allocations: 49.14 kB / 294 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.1038, allocations: 10.28 kB / 294 MB, free: 18.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.358e-05/0.1039, allocations: 37.75 kB / 294.1 MB, free: 18.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1039, allocations: 0 / 294.1 MB, free: 18.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003171/0.1042, allocations: 158.5 kB / 294.2 MB, free: 18.92 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.0001556/0.1043, allocations: 123.2 kB / 294.4 MB, free: 18.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003921/0.1047, allocations: 393.8 kB / 294.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.1047, allocations: 1.188 kB / 294.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.1049, allocations: 292.3 kB / 295 MB, free: 18.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.1051, allocations: 29.64 kB / 295.1 MB, free: 18.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008904/0.106, allocations: 0.7305 MB / 295.8 MB, free: 18.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.987e-05/0.1061, allocations: 110.8 kB / 295.9 MB, free: 18.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.1062, allocations: 47.7 kB / 295.9 MB, free: 18.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.1063, allocations: 99.33 kB / 296 MB, free: 18.08 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1063, allocations: 0 / 296 MB, free: 18.08 MB / 266.7 MB Notification: Performance of Templates: time 0.006676/0.113, allocations: 4.7 MB / 300.7 MB, free: 17.63 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 -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.3988189748488367]