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.0009975/0.0009975, allocations: 79.58 kB / 21.18 MB, free: 3.383 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.001011/0.001011, allocations: 161 kB / 24.56 MB, free: 16 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 0.976/0.976, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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 2.795e-06/2.795e-06, allocations: 3.984 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.875e-05, allocations: 6.312 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00407/0.004099, allocations: 3.681 MB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.006578, allocations: 1.44 MB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.006825, allocations: 8 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.008043, allocations: 0.7932 MB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008027/0.008846, allocations: 397.8 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.009553, allocations: 0.5367 MB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005129/0.01007, allocations: 481.7 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006251/0.01069, allocations: 414.2 kB / 280.7 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.01111, allocations: 323.2 kB / 281 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.01135, allocations: 211.4 kB / 281.2 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.877e-05/0.01139, allocations: 44 kB / 281.3 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.01178, allocations: 207.6 kB / 281.5 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.01184, allocations: 111.6 kB / 281.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.01196, allocations: 167.6 kB / 281.7 MB, free: 8.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005938/0.01255, allocations: 0.5099 MB / 282.2 MB, free: 8.195 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.01256, allocations: 3.984 kB / 282.2 MB, free: 8.191 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01256, allocations: 0 / 282.2 MB, free: 8.191 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.01257, allocations: 0 / 282.2 MB, free: 8.191 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.001334/0.0139, allocations: 0.9485 MB / 283.2 MB, free: 7.203 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.01394, allocations: 16.02 kB / 283.2 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/0.01582, allocations: 0.5858 MB / 283.8 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.01612, allocations: 251.9 kB / 284 MB, free: 6.328 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.01615, allocations: 37.69 kB / 284.1 MB, free: 6.293 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/0.01622, allocations: 56.38 kB / 284.1 MB, free: 6.238 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006827/0.0169, allocations: 433.3 kB / 284.6 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.01692, allocations: 192 / 284.6 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.01695, allocations: 24.12 kB / 284.6 MB, free: 5.773 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.01696, allocations: 12 kB / 284.6 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.01743, allocations: 343.6 kB / 284.9 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.01919, allocations: 1.502 MB / 286.4 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008706/0.02006, allocations: 0.5628 MB / 287 MB, free: 3.297 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.0203, allocations: 173 kB / 287.2 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.214e-05/0.02036, allocations: 28.47 kB / 287.2 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.02039, allocations: 41.89 kB / 287.2 MB, free: 3.047 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.874e-06/0.02039, allocations: 3.938 kB / 287.2 MB, free: 3.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0009082/0.0213, allocations: 0.5042 MB / 287.7 MB, free: 2.527 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.02133, allocations: 59.91 kB / 287.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.02146, allocations: 232.4 kB / 288 MB, free: 2.215 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.02148, allocations: 29.7 kB / 288.1 MB, free: 2.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.02158, allocations: 271.7 kB / 288.3 MB, free: 1.906 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/0.02167, allocations: 166.5 kB / 288.5 MB, free: 1.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.02177, allocations: 99.78 kB / 288.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.02189, allocations: 0.5001 MB / 289.1 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.02202, allocations: 88.94 kB / 289.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.0222, allocations: 202.3 kB / 289.4 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.02252, allocations: 318.1 kB / 289.7 MB, free: 456 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.02253, allocations: 4 kB / 289.7 MB, free: 452 kB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005412/0.02307, allocations: 432.8 kB / 290.1 MB, free: 8 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.02308, allocations: 4 kB / 290.1 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.02309, allocations: 4 kB / 290.1 MB, free: 0 / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1177/0.1408, allocations: 88.56 kB / 290.2 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.141, allocations: 94.83 kB / 290.3 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.1422, allocations: 1.999 MB / 292.3 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.1423, allocations: 42.03 kB / 292.3 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.1424, allocations: 17.41 kB / 292.3 MB, free: 19.5 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.0001259/0.1425, allocations: 183.5 kB / 292.5 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.1426, allocations: 40.84 kB / 292.6 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00062/0.1432, allocations: 428.8 kB / 293 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1432, allocations: 5.625 kB / 293 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1432, allocations: 1.094 kB / 293 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.1432, allocations: 2.719 kB / 293 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.1442, allocations: 0.9206 MB / 293.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1442, allocations: 4.922 kB / 293.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.1444, allocations: 72.98 kB / 294 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002372/0.1446, allocations: 95.58 kB / 294.1 MB, free: 18.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.1447, allocations: 15.33 kB / 294.1 MB, free: 18.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008876/0.1455, allocations: 1.993 MB / 296.1 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1455, allocations: 0.8438 kB / 296.1 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.1462, allocations: 0.6469 MB / 296.7 MB, free: 16.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.1463, allocations: 31.58 kB / 296.8 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.1463, allocations: 11.14 kB / 296.8 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1464, allocations: 11.97 kB / 296.8 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.1465, allocations: 41.81 kB / 296.8 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.1465, allocations: 15.23 kB / 296.8 MB, free: 16.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.443e-05/0.1466, allocations: 158.6 kB / 297 MB, free: 16.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1466, allocations: 0 / 297 MB, free: 16.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004148/0.147, allocations: 153.7 kB / 297.2 MB, free: 16.79 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.0002082/0.1472, allocations: 145.6 kB / 297.3 MB, free: 16.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006441/0.1478, allocations: 0.5022 MB / 297.8 MB, free: 16.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1478, allocations: 0 / 297.8 MB, free: 16.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.1482, allocations: 380.8 kB / 298.2 MB, free: 16.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.1484, allocations: 42.89 kB / 298.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.1496, allocations: 0.7538 MB / 299 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.617e-05/0.1497, allocations: 111.9 kB / 299.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.1498, allocations: 48.77 kB / 299.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.1499, allocations: 37.09 kB / 299.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1499, allocations: 1.156 kB / 299.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of Templates: time 0.007522/0.1574, allocations: 4.344 MB / 303.5 MB, free: 15.39 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0012385193258524]