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.001311/0.001311, allocations: 80.83 kB / 20.68 MB, free: 1.035 MB / 14.72 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.0013/0.0013, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 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.424/1.424, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 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.322e-06/1.322e-06, allocations: 0 / 318.9 MB, free: 3.422 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.164e-05, allocations: 2.281 kB / 318.9 MB, free: 3.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003823/0.003844, allocations: 3.381 MB / 322.3 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.005845, allocations: 1.341 MB / 323.6 MB, free: 260 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.006011, allocations: 8.312 kB / 323.6 MB, free: 260 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.007761, allocations: 0.7408 MB / 324.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.008966, allocations: 0.5245 MB / 324.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008739/0.00984, allocations: 397.8 kB / 325.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.01036, allocations: 483 kB / 325.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007004/0.01106, allocations: 429.6 kB / 326.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000439/0.0115, allocations: 311.7 kB / 326.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.01183, allocations: 207.1 kB / 326.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.287e-05/0.0119, allocations: 48.91 kB / 326.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004163/0.01232, allocations: 198.2 kB / 326.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.01243, allocations: 115.5 kB / 327 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.01263, allocations: 159.8 kB / 327.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.01364, allocations: 0.7156 MB / 327.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.01364, allocations: 0.75 kB / 327.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01364, allocations: 0 / 327.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.01366, allocations: 5.406 kB / 327.9 MB, free: 14.07 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002269/0.01593, allocations: 0.8458 MB / 328.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.01597, allocations: 9.469 kB / 328.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003587/0.01955, allocations: 499.1 kB / 329.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.02002, allocations: 249.4 kB / 329.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.02007, allocations: 39.25 kB / 329.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.92e-05/0.02017, allocations: 55.38 kB / 329.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.0212, allocations: 0.5457 MB / 330.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.02122, allocations: 6.219 kB / 330.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.057e-05/0.02128, allocations: 24.5 kB / 330.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.0213, allocations: 11.94 kB / 330.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.02237, allocations: 0.5735 MB / 330.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/0.02516, allocations: 1.495 MB / 332.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.02668, allocations: 0.5368 MB / 332.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004839/0.02716, allocations: 229.2 kB / 333 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-05/0.02723, allocations: 19.45 kB / 333 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.02726, allocations: 40.66 kB / 333.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.074e-06/0.02726, allocations: 0 / 333.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001777/0.02904, allocations: 0.662 MB / 333.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.02908, allocations: 56.56 kB / 333.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.02927, allocations: 178.1 kB / 334 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.02931, allocations: 35.98 kB / 334 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.02945, allocations: 224.2 kB / 334.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.0296, allocations: 170.3 kB / 334.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.02973, allocations: 79.19 kB / 334.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.02988, allocations: 336.3 kB / 334.8 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.03018, allocations: 149.9 kB / 334.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.03055, allocations: 243.4 kB / 335.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006956/0.03124, allocations: 416.7 kB / 335.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.03125, allocations: 1.375 kB / 335.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001065/0.03231, allocations: 0.5309 MB / 336.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.03233, allocations: 5.781 kB / 336.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.03234, allocations: 5.672 kB / 336.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.0327, allocations: 86.75 kB / 336.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.03309, allocations: 98.17 kB / 336.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.03499, allocations: 1.635 MB / 337.9 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.03529, allocations: 49.84 kB / 338 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.03532, allocations: 17.22 kB / 338 MB, free: 7.539 MB / 302.1 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.0002184/0.03554, allocations: 170.2 kB / 338.2 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/0.03562, allocations: 23.05 kB / 338.2 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.03675, allocations: 0.5374 MB / 338.7 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.03676, allocations: 6.344 kB / 338.7 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.03676, allocations: 1.562 kB / 338.7 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.03677, allocations: 7.984 kB / 338.8 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.03844, allocations: 0.9736 MB / 339.7 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.03844, allocations: 0 / 339.7 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.0388, allocations: 75.91 kB / 339.8 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002822/0.03908, allocations: 80.86 kB / 339.9 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.03911, allocations: 12 kB / 339.9 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.04089, allocations: 1.651 MB / 341.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.04089, allocations: 4.031 kB / 341.5 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.04228, allocations: 0.7856 MB / 342.3 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.04233, allocations: 35.75 kB / 342.4 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.04237, allocations: 11.94 kB / 342.4 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.04263, allocations: 32.11 kB / 342.4 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.344e-05/0.04272, allocations: 36.38 kB / 342.4 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.04276, allocations: 19.98 kB / 342.5 MB, free: 3.445 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.04287, allocations: 119.2 kB / 342.6 MB, free: 3.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04287, allocations: 0 / 342.6 MB, free: 3.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005504/0.04342, allocations: 151.6 kB / 342.7 MB, free: 3.18 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 (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.0002624/0.04368, allocations: 143.1 kB / 342.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.04476, allocations: 0.5398 MB / 343.4 MB, free: 2.473 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.04476, allocations: 0 / 343.4 MB, free: 2.473 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.04536, allocations: 349.3 kB / 343.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.04577, allocations: 47.02 kB / 343.8 MB, free: 2.082 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.04712, allocations: 0.779 MB / 344.6 MB, free: 1.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.04732, allocations: 204.8 kB / 344.8 MB, free: 1.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.0475, allocations: 42.95 kB / 344.8 MB, free: 1.008 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.0476, allocations: 36.48 kB / 344.9 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.0476, allocations: 0 / 344.9 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of Templates: time 0.009487/0.05709, allocations: 4.133 MB / 349 MB, free: 12.87 MB / 318.1 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.2866891622543335]