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.002575/0.002575, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002895/0.002895, allocations: 161.1 kB / 25.03 MB, free: 8.418 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 1.405/1.405, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.633e-06/1.633e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.396e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.006014/0.006048, allocations: 3.654 MB / 254 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003109/0.009157, allocations: 1.414 MB / 255.4 MB, free: 2.73 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.009355, allocations: 12 kB / 255.4 MB, free: 2.719 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002126/0.01148, allocations: 0.8009 MB / 256.2 MB, free: 1.914 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.01263, allocations: 405.8 kB / 256.6 MB, free: 1.516 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.01387, allocations: 0.5331 MB / 257.2 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006817/0.01455, allocations: 0.5015 MB / 257.7 MB, free: 488 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008344/0.01539, allocations: 422.2 kB / 258.1 MB, free: 60 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006025/0.01599, allocations: 331.2 kB / 258.4 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003897/0.01638, allocations: 231.3 kB / 258.6 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.917e-05/0.01647, allocations: 48 kB / 258.7 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005275/0.01699, allocations: 199.7 kB / 258.9 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.01712, allocations: 115.5 kB / 259 MB, free: 15.15 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.01734, allocations: 179.5 kB / 259.2 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.01841, allocations: 0.7319 MB / 259.9 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.01842, allocations: 7.984 kB / 259.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01842, allocations: 0 / 259.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.01843, allocations: 4 kB / 259.9 MB, free: 14.23 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.002391/0.02082, allocations: 1.003 MB / 260.9 MB, free: 13.19 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.02086, allocations: 11.98 kB / 260.9 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004485/0.02534, allocations: 0.7379 MB / 261.7 MB, free: 12.44 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.02585, allocations: 264 kB / 261.9 MB, free: 12.15 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.833e-05/0.02591, allocations: 45.62 kB / 262 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.02602, allocations: 56.38 kB / 262 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.02718, allocations: 0.5671 MB / 262.6 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.02721, allocations: 4.188 kB / 262.6 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.824e-05/0.02728, allocations: 23.94 kB / 262.6 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.0273, allocations: 16 kB / 262.6 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.02856, allocations: 0.6142 MB / 263.2 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004257/0.03282, allocations: 1.846 MB / 265.1 MB, free: 8.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.0347, allocations: 0.6156 MB / 265.7 MB, free: 8.297 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/0.03522, allocations: 249 kB / 266 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.115e-05/0.03529, allocations: 16.5 kB / 266 MB, free: 8.035 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.03534, allocations: 45.81 kB / 266 MB, free: 7.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 2.184e-06/0.03534, allocations: 4 kB / 266 MB, free: 7.977 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.001867/0.03721, allocations: 0.6566 MB / 266.7 MB, free: 7.309 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.03726, allocations: 59.91 kB / 266.7 MB, free: 7.238 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.03767, allocations: 269.8 kB / 267 MB, free: 6.957 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.03771, allocations: 33.7 kB / 267 MB, free: 6.918 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.03794, allocations: 299.5 kB / 267.3 MB, free: 6.617 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.03812, allocations: 186.5 kB / 267.5 MB, free: 6.434 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.03831, allocations: 112 kB / 267.6 MB, free: 6.316 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003336/0.03864, allocations: 0.5235 MB / 268.1 MB, free: 5.781 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.03896, allocations: 149.2 kB / 268.3 MB, free: 5.637 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.03946, allocations: 333.9 kB / 268.6 MB, free: 5.242 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008495/0.04031, allocations: 0.5085 MB / 269.1 MB, free: 4.664 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.04031, allocations: 0 / 269.1 MB, free: 4.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001225/0.04154, allocations: 0.5943 MB / 269.7 MB, free: 4.059 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.04156, allocations: 8.469 kB / 269.7 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.04158, allocations: 8 kB / 269.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005242/0.0421, allocations: 103.6 kB / 269.8 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/0.04256, allocations: 111.8 kB / 269.9 MB, free: 3.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002733/0.0453, allocations: 2.182 MB / 272.1 MB, free: 1.527 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.0456, allocations: 51.62 kB / 272.2 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.04565, allocations: 20 kB / 272.2 MB, free: 1.457 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 0.0002743/0.04592, allocations: 224.5 kB / 272.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.282e-05/0.04601, allocations: 39.84 kB / 272.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.04722, allocations: 0.5397 MB / 273 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.04723, allocations: 4 kB / 273 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.04723, allocations: 3.984 kB / 273 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.04724, allocations: 7.938 kB / 273 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.04931, allocations: 1.133 MB / 274.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.04932, allocations: 0 / 274.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.04968, allocations: 71.91 kB / 274.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005499/0.05023, allocations: 107.7 kB / 274.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.05026, allocations: 12 kB / 274.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002408/0.05267, allocations: 2.17 MB / 276.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.05268, allocations: 3.938 kB / 276.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.05425, allocations: 0.8567 MB / 277.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.05431, allocations: 35.69 kB / 277.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.05437, allocations: 8 kB / 277.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.05478, allocations: 15.98 kB / 277.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.0549, allocations: 40.44 kB / 277.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.05493, allocations: 15.98 kB / 277.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001839/0.05511, allocations: 192.2 kB / 277.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05511, allocations: 0 / 277.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006219/0.05573, allocations: 155.7 kB / 277.8 MB, free: 11.61 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 (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.0002997/0.05603, allocations: 139 kB / 277.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.05732, allocations: 0.6412 MB / 278.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.05732, allocations: 256 / 278.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007104/0.05804, allocations: 449 kB / 279 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.05841, allocations: 35.97 kB / 279.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.06016, allocations: 0.8539 MB / 279.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.06042, allocations: 209.1 kB / 280.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002065/0.06063, allocations: 54.94 kB / 280.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.06074, allocations: 32.5 kB / 280.2 MB, free: 9.102 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.06074, allocations: 0 / 280.2 MB, free: 9.102 MB / 266.7 MB Notification: Performance of Templates: time 0.01155/0.07229, allocations: 4.314 MB / 284.5 MB, free: 4.812 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.523157729068771]