Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007765/0.0007765, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.001803, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007087/0.0007087, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008883/0.001597, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9905/0.9905, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08465/1.075, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.626e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003496/0.003512, allocations: 3.681 MB / 248.9 MB, free: 9.883 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.00555, allocations: 1.483 MB / 250.4 MB, free: 8.391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.005731, allocations: 8 kB / 250.4 MB, free: 8.383 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009439/0.006675, allocations: 0.8009 MB / 251.2 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007975/0.007472, allocations: 381.8 kB / 251.5 MB, free: 7.203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.008095, allocations: 0.5291 MB / 252.1 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004072/0.008502, allocations: 477.7 kB / 252.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004961/0.008999, allocations: 422.9 kB / 253 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.009379, allocations: 331.2 kB / 253.3 MB, free: 5.461 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.009598, allocations: 211.4 kB / 253.5 MB, free: 5.254 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.864e-05/0.009647, allocations: 48 kB / 253.5 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000379/0.01003, allocations: 219.6 kB / 253.7 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.01008, allocations: 75.75 kB / 253.8 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.01017, allocations: 131.8 kB / 253.9 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.01067, allocations: 478.2 kB / 254.4 MB, free: 4.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.301e-05/0.01068, allocations: 0 / 254.4 MB, free: 4.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01069, allocations: 0 / 254.4 MB, free: 4.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.0107, allocations: 0 / 254.4 MB, free: 4.32 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.001412/0.01211, allocations: 1.031 MB / 255.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.01215, allocations: 8.031 kB / 255.5 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.01401, allocations: 0.6563 MB / 256.1 MB, free: 2.582 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.01428, allocations: 177.1 kB / 256.3 MB, free: 2.383 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.01431, allocations: 45.69 kB / 256.3 MB, free: 2.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.01437, allocations: 52.33 kB / 256.4 MB, free: 2.289 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003969/0.01476, allocations: 393.3 kB / 256.8 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.01478, allocations: 192 / 256.8 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.01482, allocations: 28.12 kB / 256.8 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.01483, allocations: 16 kB / 256.8 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.01511, allocations: 230.2 kB / 257 MB, free: 1.617 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.01663, allocations: 1.225 MB / 258.3 MB, free: 352 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008287/0.01746, allocations: 0.4903 MB / 258.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.01763, allocations: 130.3 kB / 258.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-05/0.01769, allocations: 24.42 kB / 258.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.01771, allocations: 43.05 kB / 258.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.124e-06/0.01772, allocations: 7.938 kB / 258.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006315/0.01835, allocations: 382.6 kB / 259.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.01837, allocations: 55.91 kB / 259.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.01847, allocations: 167.1 kB / 259.5 MB, free: 15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.01849, allocations: 37.7 kB / 259.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.01858, allocations: 217 kB / 259.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.487e-05/0.01865, allocations: 162.6 kB / 259.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.01873, allocations: 94.08 kB / 260 MB, free: 14.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.01882, allocations: 346.8 kB / 260.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-05/0.01888, allocations: 48.98 kB / 260.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.956e-05/0.01898, allocations: 138 kB / 260.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.01918, allocations: 257.7 kB / 260.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01918, allocations: 0 / 260.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003303/0.01951, allocations: 299.3 kB / 261.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.01953, allocations: 12 kB / 261.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01954, allocations: 0 / 261.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/0.01978, allocations: 88.7 kB / 261.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.02, allocations: 107.8 kB / 261.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008986/0.0209, allocations: 1.383 MB / 262.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.02102, allocations: 43.67 kB / 262.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.02104, allocations: 16.03 kB / 262.7 MB, free: 11.61 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 9.776e-05/0.02114, allocations: 141.7 kB / 262.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.02118, allocations: 27.92 kB / 262.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.02156, allocations: 322.2 kB / 263.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.02156, allocations: 4 kB / 263.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.02156, allocations: 4 kB / 263.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.02157, allocations: 3.984 kB / 263.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.02222, allocations: 0.6273 MB / 263.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.02222, allocations: 4 kB / 263.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.0224, allocations: 87.88 kB / 264 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.02243, allocations: 27.73 kB / 264 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/0.02261, allocations: 80.86 kB / 264.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.02263, allocations: 8 kB / 264.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007632/0.02339, allocations: 1.374 MB / 265.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.0234, allocations: 7.938 kB / 265.4 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/0.02394, allocations: 461.5 kB / 265.9 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.02397, allocations: 12 kB / 265.9 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.02406, allocations: 11.98 kB / 265.9 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.02412, allocations: 48.48 kB / 266 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.02414, allocations: 8 kB / 266 MB, free: 8.207 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.667e-05/0.02418, allocations: 44.75 kB / 266 MB, free: 8.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02418, allocations: 3.938 kB / 266 MB, free: 8.156 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003105/0.02449, allocations: 147.7 kB / 266.2 MB, free: 8.012 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.0001771/0.02466, allocations: 124.3 kB / 266.3 MB, free: 7.883 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004212/0.02508, allocations: 406.1 kB / 266.7 MB, free: 7.473 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.0251, allocations: 4 kB / 266.7 MB, free: 7.469 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.02533, allocations: 304.2 kB / 267 MB, free: 7.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.02559, allocations: 179.7 kB / 267.2 MB, free: 6.953 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.02959, allocations: 0.7604 MB / 267.9 MB, free: 6.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.117e-05/0.02966, allocations: 122.1 kB / 268 MB, free: 6.023 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.02978, allocations: 46.95 kB / 268.1 MB, free: 5.977 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.0299, allocations: 95.36 kB / 268.2 MB, free: 5.883 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.0299, allocations: 0 / 268.2 MB, free: 5.883 MB / 266.7 MB Notification: Performance of Templates: time 0.006881/0.03678, allocations: 4.734 MB / 272.9 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5889400644227862]