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.001104/0.001104, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001677/0.002781, allocations: 445.8 kB / 10.44 MB, free: 256 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.0006506/0.0006506, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009929/0.001643, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8336/0.8336, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1377/0.9712, allocations: 52.5 MB / 238.5 MB, free: 7.617 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.472e-06/1.472e-06, allocations: 0 / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.781e-05, allocations: 5.969 kB / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004702/0.00472, allocations: 3.649 MB / 243.4 MB, free: 2.711 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.006923, allocations: 1.436 MB / 244.8 MB, free: 1.273 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.00708, allocations: 8 kB / 244.8 MB, free: 1.266 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.008396, allocations: 0.801 MB / 245.6 MB, free: 476 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009665/0.009362, allocations: 0.518 MB / 246.2 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.01006, allocations: 408.3 kB / 246.6 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004354/0.0105, allocations: 481.7 kB / 247 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006368/0.01114, allocations: 416.7 kB / 247.4 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004077/0.01154, allocations: 323.2 kB / 247.7 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.01182, allocations: 211.4 kB / 247.9 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.01187, allocations: 44 kB / 248 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.01226, allocations: 216.4 kB / 248.2 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.039e-05/0.01233, allocations: 75.75 kB / 248.3 MB, free: 13.81 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.01248, allocations: 128.4 kB / 248.4 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005949/0.01307, allocations: 484.2 kB / 248.9 MB, free: 13.21 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.01309, allocations: 0 / 248.9 MB, free: 13.21 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.01309, allocations: 0 / 248.9 MB, free: 13.21 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.0131, allocations: 0 / 248.9 MB, free: 13.21 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.00185/0.01495, allocations: 1.026 MB / 249.9 MB, free: 12.15 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.01498, allocations: 8.562 kB / 249.9 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/0.01803, allocations: 0.6725 MB / 250.6 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.01831, allocations: 185 kB / 250.8 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.01835, allocations: 37.69 kB / 250.8 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/0.01842, allocations: 56.38 kB / 250.9 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.01895, allocations: 389.4 kB / 251.2 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.01897, allocations: 192 / 251.2 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.01902, allocations: 24.12 kB / 251.3 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.01903, allocations: 12 kB / 251.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.01944, allocations: 238.2 kB / 251.5 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.02143, allocations: 1.217 MB / 252.7 MB, free: 9.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009375/0.02237, allocations: 493.7 kB / 253.2 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.0226, allocations: 134.3 kB / 253.3 MB, free: 8.621 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.202e-05/0.02268, allocations: 28.41 kB / 253.4 MB, free: 8.594 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.02271, allocations: 43 kB / 253.4 MB, free: 8.543 MB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/0.02271, allocations: 0 / 253.4 MB, free: 8.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.000951/0.02366, allocations: 374.6 kB / 253.8 MB, free: 8.172 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.02369, allocations: 59.91 kB / 253.8 MB, free: 8.102 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.02381, allocations: 173.6 kB / 254 MB, free: 7.922 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.02384, allocations: 33.64 kB / 254 MB, free: 7.883 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.02394, allocations: 228.9 kB / 254.3 MB, free: 7.656 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.02404, allocations: 162.5 kB / 254.4 MB, free: 7.496 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.02416, allocations: 86.14 kB / 254.5 MB, free: 7.402 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.768e-05/0.02425, allocations: 334.8 kB / 254.8 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.533e-05/0.02434, allocations: 52.98 kB / 254.9 MB, free: 7.016 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.02449, allocations: 142 kB / 255 MB, free: 6.848 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.02478, allocations: 253.8 kB / 255.3 MB, free: 6.566 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.02478, allocations: 4 kB / 255.3 MB, free: 6.562 MB / 250.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004782/0.02526, allocations: 303.3 kB / 255.6 MB, free: 6.262 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.02528, allocations: 10.19 kB / 255.6 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.02528, allocations: 0 / 255.6 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003316/0.02562, allocations: 96.72 kB / 255.7 MB, free: 6.156 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.02593, allocations: 103.9 kB / 255.8 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.02707, allocations: 1.39 MB / 257.2 MB, free: 4.578 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.02723, allocations: 39.73 kB / 257.2 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.02726, allocations: 12 kB / 257.2 MB, free: 4.527 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 0.0001225/0.02738, allocations: 137.7 kB / 257.3 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.02745, allocations: 35.91 kB / 257.4 MB, free: 4.348 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/0.02798, allocations: 314.3 kB / 257.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.02799, allocations: 4 kB / 257.7 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.02799, allocations: 4 kB / 257.7 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.02799, allocations: 0 / 257.7 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009042/0.0289, allocations: 0.6274 MB / 258.3 MB, free: 3.355 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.02891, allocations: 4 kB / 258.3 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.02918, allocations: 83.84 kB / 258.4 MB, free: 3.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.02921, allocations: 31.78 kB / 258.4 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002681/0.02948, allocations: 84.84 kB / 258.5 MB, free: 3.152 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.0295, allocations: 4 kB / 258.5 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.03056, allocations: 1.366 MB / 259.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.03056, allocations: 7.938 kB / 259.9 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.03116, allocations: 457.5 kB / 260.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.0312, allocations: 12 kB / 260.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.03137, allocations: 24 kB / 260.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.041e-05/0.03145, allocations: 36.42 kB / 260.4 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.03147, allocations: 15.94 kB / 260.4 MB, free: 1.129 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.329e-05/0.03153, allocations: 41.62 kB / 260.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03153, allocations: 0 / 260.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004478/0.03197, allocations: 151.6 kB / 260.6 MB, free: 0.9375 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 (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.0002191/0.03219, allocations: 128.2 kB / 260.7 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000635/0.03283, allocations: 398.1 kB / 261.1 MB, free: 408 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/0.03284, allocations: 4 kB / 261.1 MB, free: 404 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.0332, allocations: 308.1 kB / 261.4 MB, free: 84 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.03356, allocations: 178.2 kB / 261.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.038, allocations: 0.753 MB / 262.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.632e-05/0.03807, allocations: 118.2 kB / 262.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.03819, allocations: 46.95 kB / 262.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.0383, allocations: 95.36 kB / 262.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03831, allocations: 0 / 262.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of Templates: time 0.006338/0.04464, allocations: 4.598 MB / 267.2 MB, free: 10.27 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3595483088865876]