Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.0009418/0.0009418, allocations: 80.8 kB / 22.28 MB, free: 2.211 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.001085/0.001085, allocations: 164.9 kB / 25.7 MB, free: 8.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9181/0.9181, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.354e-05, allocations: 2.312 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003698/0.003712, allocations: 3.681 MB / 255.3 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.005794, allocations: 1.476 MB / 256.7 MB, free: 2.039 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.005968, allocations: 12 kB / 256.7 MB, free: 2.027 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.006979, allocations: 0.7891 MB / 257.5 MB, free: 1.234 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.008028, allocations: 413.7 kB / 257.9 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005901/0.008619, allocations: 0.5175 MB / 258.4 MB, free: 316 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.009038, allocations: 0.5016 MB / 259 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000507/0.009545, allocations: 454.7 kB / 259.4 MB, free: 15.35 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.009912, allocations: 327.2 kB / 259.7 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.01015, allocations: 219.4 kB / 259.9 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.0102, allocations: 48 kB / 260 MB, free: 14.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.01056, allocations: 215.6 kB / 260.2 MB, free: 14.56 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.163e-05/0.01062, allocations: 119.5 kB / 260.3 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.01073, allocations: 171.6 kB / 260.5 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.01121, allocations: 0.5175 MB / 261 MB, free: 13.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.01121, allocations: 0 / 261 MB, free: 13.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01121, allocations: 4 kB / 261 MB, free: 13.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.01122, allocations: 4 kB / 261 MB, free: 13.75 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001202/0.01242, allocations: 0.8899 MB / 261.9 MB, free: 12.83 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.01245, allocations: 11.98 kB / 261.9 MB, free: 12.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.01481, allocations: 0.8123 MB / 262.7 MB, free: 12.01 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.01505, allocations: 177.2 kB / 262.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.01507, allocations: 45.69 kB / 262.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.01513, allocations: 64.25 kB / 263 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.01549, allocations: 417.3 kB / 263.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.01551, allocations: 4.188 kB / 263.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.01554, allocations: 27.94 kB / 263.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.01555, allocations: 12 kB / 263.4 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.01583, allocations: 262.2 kB / 263.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.01754, allocations: 1.295 MB / 265 MB, free: 9.637 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007357/0.01828, allocations: 0.5757 MB / 265.6 MB, free: 9.055 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.01842, allocations: 134.3 kB / 265.7 MB, free: 8.922 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.692e-05/0.01847, allocations: 28.48 kB / 265.7 MB, free: 8.891 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.01849, allocations: 35.06 kB / 265.8 MB, free: 8.848 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.683e-06/0.01849, allocations: 0 / 265.8 MB, free: 8.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.000582/0.01908, allocations: 382.6 kB / 266.1 MB, free: 8.465 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.0191, allocations: 55.91 kB / 266.2 MB, free: 8.398 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.0192, allocations: 182.5 kB / 266.4 MB, free: 8.207 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.01922, allocations: 33.7 kB / 266.4 MB, free: 8.168 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.0193, allocations: 252.7 kB / 266.6 MB, free: 7.914 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.601e-05/0.01938, allocations: 178.5 kB / 266.8 MB, free: 7.738 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.527e-05/0.01946, allocations: 90.25 kB / 266.9 MB, free: 7.645 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.65e-05/0.01954, allocations: 342.7 kB / 267.2 MB, free: 7.301 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.147e-05/0.0196, allocations: 57.28 kB / 267.3 MB, free: 7.246 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.01972, allocations: 188.7 kB / 267.5 MB, free: 7.012 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.01994, allocations: 299.3 kB / 267.8 MB, free: 6.672 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01994, allocations: 0 / 267.8 MB, free: 6.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003509/0.0203, allocations: 350.9 kB / 268.1 MB, free: 6.316 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.02031, allocations: 11.94 kB / 268.1 MB, free: 6.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.02032, allocations: 4.469 kB / 268.1 MB, free: 6.301 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.02053, allocations: 84.72 kB / 268.2 MB, free: 6.215 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.02075, allocations: 111.9 kB / 268.3 MB, free: 6.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008392/0.02159, allocations: 1.378 MB / 269.7 MB, free: 4.641 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.02172, allocations: 55.56 kB / 269.8 MB, free: 4.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.02175, allocations: 19.98 kB / 269.8 MB, free: 4.566 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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 9.899e-05/0.02185, allocations: 149.7 kB / 269.9 MB, free: 4.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.02189, allocations: 31.97 kB / 270 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.02225, allocations: 323 kB / 270.3 MB, free: 4.059 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.02225, allocations: 4 kB / 270.3 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.02226, allocations: 0 / 270.3 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.02226, allocations: 3.984 kB / 270.3 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006201/0.02288, allocations: 0.6391 MB / 270.9 MB, free: 3.379 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02288, allocations: 4 kB / 270.9 MB, free: 3.375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.02306, allocations: 87.95 kB / 271 MB, free: 3.289 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001692/0.02323, allocations: 76.78 kB / 271.1 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.02325, allocations: 19.92 kB / 271.1 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009993/0.02425, allocations: 1.382 MB / 272.5 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02425, allocations: 0 / 272.5 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.02465, allocations: 473.5 kB / 272.9 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.02467, allocations: 35.67 kB / 273 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.0247, allocations: 8 kB / 273 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.0248, allocations: 12 kB / 273 MB, free: 1.176 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.02485, allocations: 40.42 kB / 273 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.02487, allocations: 12 kB / 273.1 MB, free: 1.125 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.643e-05/0.0249, allocations: 45.86 kB / 273.1 MB, free: 1.078 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0249, allocations: 0 / 273.1 MB, free: 1.078 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000297/0.0252, allocations: 163.6 kB / 273.3 MB, free: 0.918 MB / 250.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 (46): * Single equations (assignments): 45 * 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.0001458/0.02535, allocations: 124.3 kB / 273.4 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003986/0.02575, allocations: 417.7 kB / 273.8 MB, free: 376 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.02575, allocations: 4 kB / 273.8 MB, free: 372 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.02596, allocations: 284.2 kB / 274.1 MB, free: 76 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.02612, allocations: 35.92 kB / 274.1 MB, free: 40 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.02713, allocations: 0.7802 MB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.55e-05/0.02719, allocations: 114.6 kB / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.02731, allocations: 54.94 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.02743, allocations: 103.3 kB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02743, allocations: 0 / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of Templates: time 0.006843/0.03427, allocations: 4.66 MB / 279.8 MB, free: 10.3 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/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.5646654600277543]