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.001026/0.001026, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002371, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009682/0.0009682, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.002364, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9531/0.9531, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09238/1.046, allocations: 52.5 MB / 238.3 MB, free: 4.422 MB / 234.7 MB " [Timeout remaining time 179] 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.172e-06/1.172e-06, allocations: 3.938 kB / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.045e-06/9.217e-06, allocations: 6.312 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003052/0.003061, allocations: 3.649 MB / 243.2 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.004697, allocations: 1.432 MB / 244.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.004825, allocations: 12 kB / 244.6 MB, free: 14.06 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009623/0.005787, allocations: 0.7931 MB / 245.4 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006329/0.00642, allocations: 0.5244 MB / 246 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.006846, allocations: 409.4 kB / 246.4 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.007164, allocations: 481.7 kB / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004139/0.007578, allocations: 414.9 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.007852, allocations: 323.2 kB / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.008036, allocations: 215.4 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.008074, allocations: 44 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.008342, allocations: 215.6 kB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.008387, allocations: 75.75 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.877e-05/0.008476, allocations: 127.8 kB / 248.2 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.008889, allocations: 482.2 kB / 248.7 MB, free: 9.996 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.008902, allocations: 0 / 248.7 MB, free: 9.996 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.008902, allocations: 3.938 kB / 248.7 MB, free: 9.992 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.008919, allocations: 0 / 248.7 MB, free: 9.992 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.001228/0.01015, allocations: 1.024 MB / 249.7 MB, free: 8.926 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.574e-05/0.01017, allocations: 8.031 kB / 249.7 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/0.01194, allocations: 0.6758 MB / 250.4 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.01216, allocations: 177.2 kB / 250.6 MB, free: 8.043 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.01218, allocations: 45.69 kB / 250.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.01224, allocations: 56.38 kB / 250.7 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.0126, allocations: 385.4 kB / 251 MB, free: 7.551 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.01262, allocations: 4.125 kB / 251 MB, free: 7.547 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.01265, allocations: 28.12 kB / 251.1 MB, free: 7.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.01266, allocations: 15.98 kB / 251.1 MB, free: 7.504 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.01291, allocations: 230.3 kB / 251.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.01423, allocations: 1.209 MB / 252.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/0.01484, allocations: 0.5053 MB / 253 MB, free: 5.504 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.01499, allocations: 130.3 kB / 253.2 MB, free: 5.371 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.01503, allocations: 20.42 kB / 253.2 MB, free: 5.352 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.01505, allocations: 39.06 kB / 253.2 MB, free: 5.305 MB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 1.613e-06/0.01505, allocations: 0 / 253.2 MB, free: 5.305 MB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.0005656/0.01562, allocations: 378.6 kB / 253.6 MB, free: 4.926 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.01564, allocations: 63.91 kB / 253.6 MB, free: 4.852 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.01573, allocations: 162.5 kB / 253.8 MB, free: 4.68 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.01575, allocations: 33.7 kB / 253.8 MB, free: 4.641 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.01582, allocations: 224.9 kB / 254.1 MB, free: 4.418 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/0.01589, allocations: 166.5 kB / 254.2 MB, free: 4.254 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/0.01597, allocations: 82.16 kB / 254.3 MB, free: 4.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.01604, allocations: 338.8 kB / 254.6 MB, free: 3.828 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-05/0.0161, allocations: 56.92 kB / 254.7 MB, free: 3.773 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.537e-05/0.01619, allocations: 146 kB / 254.8 MB, free: 3.598 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.01637, allocations: 233.8 kB / 255.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01637, allocations: 0 / 255.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0002967/0.01667, allocations: 307.1 kB / 255.4 MB, free: 3.031 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01668, allocations: 7.984 kB / 255.4 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01669, allocations: 4 kB / 255.4 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/0.0169, allocations: 88.88 kB / 255.5 MB, free: 2.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.0171, allocations: 99.89 kB / 255.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007944/0.01789, allocations: 1.385 MB / 256.9 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.018, allocations: 43.67 kB / 257 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.01802, allocations: 16 kB / 257 MB, free: 1.301 MB / 250.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.841e-05/0.0181, allocations: 129.8 kB / 257.1 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.01814, allocations: 39.91 kB / 257.2 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.01849, allocations: 314.3 kB / 257.5 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.0185, allocations: 8 kB / 257.5 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.0185, allocations: 0 / 257.5 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.01851, allocations: 3.984 kB / 257.5 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005868/0.01909, allocations: 0.6274 MB / 258.1 MB, free: 132 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.0191, allocations: 8 kB / 258.1 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.01926, allocations: 83.91 kB / 258.2 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.01929, allocations: 31.73 kB / 258.2 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001862/0.01947, allocations: 85.16 kB / 258.3 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.01949, allocations: 8 kB / 258.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007797/0.02027, allocations: 1.37 MB / 259.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.02028, allocations: 3.938 kB / 259.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.0207, allocations: 465.5 kB / 260.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.02072, allocations: 8 kB / 260.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.903e-05/0.02082, allocations: 20.06 kB / 260.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.02087, allocations: 36.42 kB / 260.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.02088, allocations: 8 kB / 260.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.372e-05/0.02092, allocations: 50.22 kB / 260.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02092, allocations: 0 / 260.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.02118, allocations: 155.6 kB / 260.4 MB, free: 13.7 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.0001456/0.02133, allocations: 116.3 kB / 260.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003879/0.02172, allocations: 389.7 kB / 260.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.02173, allocations: 11.97 kB / 260.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.02193, allocations: 283.1 kB / 261.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.02213, allocations: 56.67 kB / 261.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.0259, allocations: 0.7603 MB / 262 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.332e-05/0.02597, allocations: 114.2 kB / 262.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.02609, allocations: 46.95 kB / 262.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.02621, allocations: 95.36 kB / 262.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02621, allocations: 0 / 262.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of Templates: time 0.006686/0.03289, allocations: 4.593 MB / 266.9 MB, free: 7.203 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] 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","",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.5934740668162704]