Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001843/0.001843, allocations: 81.95 kB / 21.43 MB, free: 300 kB / 14.72 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.002089/0.002089, allocations: 164.2 kB / 24.7 MB, free: 3.551 MB / 14.72 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 1.284/1.284, allocations: 158.6 MB / 186.5 MB, free: 6.418 MB / 174.1 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.593e-05, allocations: 2.281 kB / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.00469/0.004716, allocations: 3.423 MB / 302.4 MB, free: 5.281 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.007255, allocations: 1.379 MB / 303.8 MB, free: 3.895 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.007432, allocations: 12 kB / 303.8 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.009277, allocations: 0.7386 MB / 304.5 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009732/0.01025, allocations: 409.8 kB / 304.9 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.01136, allocations: 0.5253 MB / 305.4 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005385/0.01189, allocations: 0.5015 MB / 305.9 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007085/0.0126, allocations: 438.1 kB / 306.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004317/0.01303, allocations: 327.3 kB / 306.7 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.01335, allocations: 219.4 kB / 306.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.22e-05/0.01342, allocations: 48 kB / 306.9 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.01379, allocations: 203.7 kB / 307.1 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.0139, allocations: 123.5 kB / 307.3 MB, free: 384 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.01408, allocations: 175.5 kB / 307.4 MB, free: 208 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008499/0.01493, allocations: 0.732 MB / 308.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01493, allocations: 0 / 308.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01494, allocations: 0 / 308.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.01494, allocations: 0 / 308.2 MB, free: 15.47 MB / 302.1 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.002179/0.01712, allocations: 0.8757 MB / 309 MB, free: 14.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.01716, allocations: 15.98 kB / 309.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004458/0.02162, allocations: 0.586 MB / 309.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.02212, allocations: 261.1 kB / 309.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/0.02216, allocations: 41.69 kB / 309.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.871e-05/0.02226, allocations: 56.38 kB / 310 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.02335, allocations: 0.5904 MB / 310.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.02337, allocations: 4.172 kB / 310.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.02344, allocations: 27.94 kB / 310.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.02345, allocations: 20 kB / 310.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.02466, allocations: 0.6337 MB / 311.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003075/0.02774, allocations: 1.588 MB / 312.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.02948, allocations: 0.6098 MB / 313.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004991/0.02998, allocations: 238.2 kB / 313.7 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.588e-05/0.03004, allocations: 24.42 kB / 313.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.03007, allocations: 35.06 kB / 313.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.043e-06/0.03008, allocations: 0 / 313.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=49): time 0.001837/0.03191, allocations: 0.681 MB / 314.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.03196, allocations: 55.91 kB / 314.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.03217, allocations: 194.1 kB / 314.7 MB, free: 8.793 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.03221, allocations: 37.7 kB / 314.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.03237, allocations: 244.7 kB / 315 MB, free: 8.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.03251, allocations: 170.5 kB / 315.1 MB, free: 8.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.03266, allocations: 98.3 kB / 315.2 MB, free: 8.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.03282, allocations: 334.8 kB / 315.5 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.03315, allocations: 157.2 kB / 315.7 MB, free: 7.746 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004406/0.03359, allocations: 296.6 kB / 316 MB, free: 7.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007966/0.03439, allocations: 479.5 kB / 316.5 MB, free: 6.891 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.03439, allocations: 0 / 316.5 MB, free: 6.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001183/0.03557, allocations: 0.5799 MB / 317 MB, free: 6.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.03559, allocations: 8 kB / 317 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.0356, allocations: 4 kB / 317 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003892/0.03599, allocations: 89.2 kB / 317.1 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.03643, allocations: 107.8 kB / 317.2 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.03835, allocations: 1.644 MB / 318.9 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.03865, allocations: 55.61 kB / 318.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.03869, allocations: 20 kB / 319 MB, free: 4.273 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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.0002245/0.03892, allocations: 174.8 kB / 319.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.03898, allocations: 23.86 kB / 319.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.04017, allocations: 0.5526 MB / 319.7 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.04018, allocations: 4 kB / 319.7 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.04018, allocations: 4 kB / 319.7 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.04019, allocations: 11.92 kB / 319.7 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.04191, allocations: 1.005 MB / 320.7 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.04191, allocations: 4 kB / 320.7 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.04226, allocations: 75.91 kB / 320.8 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002745/0.04254, allocations: 84.8 kB / 320.9 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.04257, allocations: 12 kB / 320.9 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.04433, allocations: 1.628 MB / 322.5 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.04433, allocations: 8.094 kB / 322.5 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1573/0.2016, allocations: 0.8065 MB / 323.3 MB, free: 33.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-05/0.2017, allocations: 32.34 kB / 323.4 MB, free: 33.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.2018, allocations: 10.73 kB / 323.4 MB, free: 33.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.202, allocations: 22.69 kB / 323.4 MB, free: 33.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.2021, allocations: 36.61 kB / 323.4 MB, free: 33.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.2022, allocations: 21.78 kB / 323.5 MB, free: 33.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.968e-05/0.2023, allocations: 131.6 kB / 323.6 MB, free: 33.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2023, allocations: 0 / 323.6 MB, free: 33.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005999/0.2029, allocations: 164 kB / 323.8 MB, free: 33.36 MB / 302.1 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 (46): * Single equations (assignments): 45 * 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.0002422/0.2031, allocations: 133.6 kB / 323.9 MB, free: 33.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.2042, allocations: 0.5673 MB / 324.4 MB, free: 33.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2042, allocations: 0 / 324.4 MB, free: 33.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005752/0.2048, allocations: 358.6 kB / 324.8 MB, free: 33.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.2052, allocations: 33.72 kB / 324.8 MB, free: 33.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.2067, allocations: 0.8289 MB / 325.7 MB, free: 32.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.2069, allocations: 210.7 kB / 325.9 MB, free: 32.56 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.2071, allocations: 52.03 kB / 325.9 MB, free: 32.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.904e-05/0.2072, allocations: 37.12 kB / 326 MB, free: 32.55 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2072, allocations: 0 / 326 MB, free: 32.55 MB / 302.1 MB Notification: Performance of Templates: time 0.01023/0.2174, allocations: 4.237 MB / 330.2 MB, free: 32.09 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.394021958112717]