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.001879/0.001879, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001975/0.001975, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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 1.522/1.522, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.343e-06/1.343e-06, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.563e-05, allocations: 2.312 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005994/0.00602, allocations: 3.631 MB / 275.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.008704, allocations: 1.425 MB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.008864, allocations: 8 kB / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.01083, allocations: 0.7971 MB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009309/0.01176, allocations: 397.8 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.0129, allocations: 0.5292 MB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000542/0.01344, allocations: 477.8 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007082/0.01415, allocations: 426.1 kB / 280 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.01463, allocations: 319.2 kB / 280.3 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.01495, allocations: 207.4 kB / 280.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.648e-05/0.01503, allocations: 48 kB / 280.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.01543, allocations: 203.7 kB / 280.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.01554, allocations: 107.6 kB / 280.8 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.01573, allocations: 163.6 kB / 281 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009518/0.01669, allocations: 0.728 MB / 281.7 MB, free: 8.395 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.01669, allocations: 4 kB / 281.7 MB, free: 8.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01669, allocations: 0 / 281.7 MB, free: 8.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.0167, allocations: 4 kB / 281.7 MB, free: 8.387 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.002339/0.01904, allocations: 0.9754 MB / 282.7 MB, free: 7.371 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.01907, allocations: 12.03 kB / 282.7 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.02264, allocations: 0.5781 MB / 283.3 MB, free: 6.781 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.02307, allocations: 259.9 kB / 283.5 MB, free: 6.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/0.02311, allocations: 41.69 kB / 283.6 MB, free: 6.461 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.02321, allocations: 64.36 kB / 283.7 MB, free: 6.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.02423, allocations: 0.528 MB / 284.2 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.02425, allocations: 192 / 284.2 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/0.02431, allocations: 28.12 kB / 284.2 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.02433, allocations: 12 kB / 284.2 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.02542, allocations: 0.5478 MB / 284.8 MB, free: 5.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/0.02869, allocations: 1.711 MB / 286.5 MB, free: 3.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.03026, allocations: 0.5475 MB / 287 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004828/0.03074, allocations: 239.5 kB / 287.3 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.103e-05/0.03083, allocations: 24.48 kB / 287.3 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.03087, allocations: 41.89 kB / 287.3 MB, free: 2.637 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.754e-06/0.03087, allocations: 0 / 287.3 MB, free: 2.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001831/0.0327, allocations: 0.6603 MB / 288 MB, free: 1.965 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.03275, allocations: 55.91 kB / 288 MB, free: 1.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.03301, allocations: 252.5 kB / 288.3 MB, free: 1.637 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.03305, allocations: 33.7 kB / 288.3 MB, free: 1.598 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.03325, allocations: 275.7 kB / 288.6 MB, free: 1.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.03342, allocations: 178.5 kB / 288.8 MB, free: 1.145 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.0336, allocations: 103.8 kB / 288.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000291/0.03389, allocations: 0.5157 MB / 289.4 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.03419, allocations: 140.9 kB / 289.5 MB, free: 380 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.03471, allocations: 258.3 kB / 289.8 MB, free: 80 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1109/0.1456, allocations: 446.9 kB / 290.2 MB, free: 27.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.1456, allocations: 1.094 kB / 290.2 MB, free: 27.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00101/0.1466, allocations: 0.5464 MB / 290.8 MB, free: 27.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1466, allocations: 6.703 kB / 290.8 MB, free: 27.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1466, allocations: 3.562 kB / 290.8 MB, free: 27.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004803/0.1471, allocations: 103.1 kB / 290.9 MB, free: 27.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.1475, allocations: 98.08 kB / 291 MB, free: 27.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.1489, allocations: 2.17 MB / 293.1 MB, free: 25.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.1492, allocations: 49 kB / 293.2 MB, free: 25.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.1492, allocations: 20.34 kB / 293.2 MB, free: 25.54 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.0001768/0.1494, allocations: 209.4 kB / 293.4 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/0.1495, allocations: 41.05 kB / 293.4 MB, free: 25.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.1505, allocations: 0.5211 MB / 294 MB, free: 25.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1505, allocations: 6.188 kB / 294 MB, free: 25.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1505, allocations: 3.406 kB / 294 MB, free: 25.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.1505, allocations: 7.594 kB / 294 MB, free: 25.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.1521, allocations: 1.105 MB / 295.1 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1521, allocations: 0 / 295.1 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.1524, allocations: 78.94 kB / 295.2 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003782/0.1528, allocations: 102.7 kB / 295.3 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.1528, allocations: 13.89 kB / 295.3 MB, free: 24.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.1542, allocations: 2.175 MB / 297.5 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1542, allocations: 5.031 kB / 297.5 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.1553, allocations: 0.8423 MB / 298.3 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.1554, allocations: 27.98 kB / 298.3 MB, free: 22.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.1554, allocations: 8.266 kB / 298.3 MB, free: 22.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.1556, allocations: 17.16 kB / 298.3 MB, free: 22.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/0.1557, allocations: 37.19 kB / 298.4 MB, free: 22.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.1558, allocations: 19.2 kB / 298.4 MB, free: 22.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.786e-05/0.1559, allocations: 176 kB / 298.6 MB, free: 22 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1559, allocations: 0 / 298.6 MB, free: 22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005355/0.1564, allocations: 150.2 kB / 298.7 MB, free: 21.97 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.0002123/0.1566, allocations: 150.3 kB / 298.9 MB, free: 21.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009645/0.1576, allocations: 0.6172 MB / 299.5 MB, free: 21.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1576, allocations: 0 / 299.5 MB, free: 21.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.1581, allocations: 437.1 kB / 299.9 MB, free: 21.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1585, allocations: 32.66 kB / 299.9 MB, free: 21.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1596, allocations: 0.8051 MB / 300.8 MB, free: 20.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.1598, allocations: 206.1 kB / 301 MB, free: 20.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.16, allocations: 47.12 kB / 301 MB, free: 20.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1601, allocations: 36.88 kB / 301 MB, free: 20.68 MB / 266.7 MB Notification: Performance of SimCode: time 6.22e-07/0.1601, allocations: 0 / 301 MB, free: 20.68 MB / 266.7 MB Notification: Performance of Templates: time 0.009342/0.1694, allocations: 4.349 MB / 305.4 MB, free: 19.81 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.488684879033826]