Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 153.1 kB / 24.26 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 173.3 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.503e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00547/0.005495, allocations: 3.39 MB / 270.7 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.008182, allocations: 1.347 MB / 272.1 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.008348, allocations: 8 kB / 272.1 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.01055, allocations: 0.7347 MB / 272.8 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.01182, allocations: 0.5245 MB / 273.3 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009048/0.01272, allocations: 405.8 kB / 273.7 MB, free: 284 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005919/0.01332, allocations: 477.7 kB / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007641/0.01408, allocations: 418.2 kB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.01458, allocations: 311.3 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.01491, allocations: 203.4 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.41e-05/0.01498, allocations: 48 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004172/0.0154, allocations: 199.7 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.01553, allocations: 115.6 kB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.01573, allocations: 159.6 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009629/0.01669, allocations: 0.7163 MB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.0167, allocations: 4 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.0167, allocations: 0 / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.01671, allocations: 0 / 276.3 MB, free: 13.65 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.002224/0.01893, allocations: 0.8447 MB / 277.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.01897, allocations: 8.031 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003651/0.02262, allocations: 0.6053 MB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.02311, allocations: 253.1 kB / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.02316, allocations: 37.69 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.02327, allocations: 60.33 kB / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.02439, allocations: 0.5476 MB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.02441, allocations: 4.172 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/0.02448, allocations: 24.12 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.0245, allocations: 12 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.02567, allocations: 0.5673 MB / 279.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00325/0.02892, allocations: 1.518 MB / 280.8 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.03049, allocations: 0.5424 MB / 281.3 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.03102, allocations: 238.2 kB / 281.6 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.045e-05/0.03109, allocations: 20.42 kB / 281.6 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.03113, allocations: 39.06 kB / 281.6 MB, free: 8.207 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.783e-06/0.03113, allocations: 0 / 281.6 MB, free: 8.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001953/0.03308, allocations: 0.6772 MB / 282.3 MB, free: 7.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.03313, allocations: 59.91 kB / 282.4 MB, free: 7.449 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.03335, allocations: 170.2 kB / 282.5 MB, free: 7.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.03339, allocations: 33.7 kB / 282.6 MB, free: 7.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.03357, allocations: 228.9 kB / 282.8 MB, free: 7.004 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.03374, allocations: 166.6 kB / 283 MB, free: 6.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.03389, allocations: 86.19 kB / 283 MB, free: 6.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.03409, allocations: 334.8 kB / 283.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.03444, allocations: 152.9 kB / 283.5 MB, free: 6.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.03486, allocations: 237.9 kB / 283.7 MB, free: 6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007835/0.03564, allocations: 413.9 kB / 284.2 MB, free: 5.562 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.03565, allocations: 0 / 284.2 MB, free: 5.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001195/0.03684, allocations: 0.5607 MB / 284.7 MB, free: 4.992 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.03686, allocations: 4 kB / 284.7 MB, free: 4.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.03687, allocations: 4 kB / 284.7 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004958/0.03736, allocations: 100.7 kB / 284.8 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.03778, allocations: 99.88 kB / 284.9 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.03993, allocations: 1.644 MB / 286.6 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.04043, allocations: 43.72 kB / 286.6 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.04047, allocations: 23.94 kB / 286.6 MB, free: 2.973 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.0002297/0.0407, allocations: 173.6 kB / 286.8 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.04079, allocations: 35.86 kB / 286.8 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.04204, allocations: 0.5365 MB / 287.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.04205, allocations: 7.984 kB / 287.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.04205, allocations: 8 kB / 287.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.04206, allocations: 0 / 287.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.04395, allocations: 0.9812 MB / 288.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.04395, allocations: 3.938 kB / 288.4 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.04433, allocations: 79.89 kB / 288.4 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004066/0.04474, allocations: 92.86 kB / 288.5 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.04477, allocations: 12 kB / 288.6 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1043/0.149, allocations: 1.635 MB / 290.2 MB, free: 31.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.149, allocations: 3.375 kB / 290.2 MB, free: 31.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.1504, allocations: 0.8133 MB / 291 MB, free: 31.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.1504, allocations: 38.09 kB / 291 MB, free: 31.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.1505, allocations: 10.61 kB / 291.1 MB, free: 31.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.1507, allocations: 20.5 kB / 291.1 MB, free: 31.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.1508, allocations: 40.47 kB / 291.1 MB, free: 31.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.1508, allocations: 11.62 kB / 291.1 MB, free: 31.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.679e-05/0.1509, allocations: 127.2 kB / 291.2 MB, free: 30.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1509, allocations: 0 / 291.2 MB, free: 30.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005233/0.1515, allocations: 147.2 kB / 291.4 MB, free: 30.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.0002075/0.1517, allocations: 138.8 kB / 291.5 MB, free: 30.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.1527, allocations: 0.5439 MB / 292.1 MB, free: 30.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1527, allocations: 1.062 kB / 292.1 MB, free: 30.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005308/0.1532, allocations: 362.6 kB / 292.4 MB, free: 30.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.1536, allocations: 39.47 kB / 292.5 MB, free: 30.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1547, allocations: 0.7773 MB / 293.2 MB, free: 30.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.1549, allocations: 204.2 kB / 293.4 MB, free: 30.03 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002024/0.1551, allocations: 47.66 kB / 293.5 MB, free: 30.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.887e-05/0.1552, allocations: 39.78 kB / 293.5 MB, free: 30.02 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1552, allocations: 0 / 293.5 MB, free: 30.02 MB / 266.7 MB Notification: Performance of Templates: time 0.009261/0.1645, allocations: 4.161 MB / 297.7 MB, free: 29.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.434853547019884]