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.00183/0.00183, allocations: 92.27 kB / 20.96 MB, free: 3.438 MB / 18.57 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.002222/0.002222, allocations: 156.9 kB / 24.26 MB, free: 144 kB / 18.57 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 1.471/1.471, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.392e-06/1.392e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.35e-05, allocations: 9.266 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005187/0.00521, allocations: 3.397 MB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.007798, allocations: 1.401 MB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.007964, allocations: 12 kB / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.00983, allocations: 0.7347 MB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009127/0.01074, allocations: 381.9 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.01189, allocations: 0.5291 MB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006138/0.01251, allocations: 481.8 kB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007041/0.01321, allocations: 418.2 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.01367, allocations: 319.2 kB / 279.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003435/0.01401, allocations: 211.4 kB / 280 MB, free: 9.926 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.877e-05/0.01409, allocations: 44 kB / 280.1 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004115/0.0145, allocations: 203.8 kB / 280.3 MB, free: 9.684 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.01462, allocations: 115.5 kB / 280.4 MB, free: 9.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.01483, allocations: 163.6 kB / 280.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.01586, allocations: 0.7241 MB / 281.3 MB, free: 8.684 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01587, allocations: 0 / 281.3 MB, free: 8.684 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01587, allocations: 0 / 281.3 MB, free: 8.684 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.01588, allocations: 0 / 281.3 MB, free: 8.684 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.00217/0.01804, allocations: 0.8524 MB / 282.1 MB, free: 7.797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.01808, allocations: 11.98 kB / 282.1 MB, free: 7.785 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003616/0.02169, allocations: 0.5781 MB / 282.7 MB, free: 7.207 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.02215, allocations: 253 kB / 283 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/0.0222, allocations: 41.69 kB / 283 MB, free: 6.895 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.0223, allocations: 48.38 kB / 283.1 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.02341, allocations: 0.5553 MB / 283.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.02343, allocations: 8.188 kB / 283.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/0.0235, allocations: 24.12 kB / 283.6 MB, free: 6.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.02351, allocations: 12 kB / 283.7 MB, free: 6.238 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.02469, allocations: 0.5712 MB / 284.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003064/0.02776, allocations: 1.53 MB / 285.8 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.0294, allocations: 0.5336 MB / 286.3 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005377/0.02993, allocations: 238.2 kB / 286.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.785e-05/0.03002, allocations: 24.47 kB / 286.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/0.03006, allocations: 43.06 kB / 286.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.603e-06/0.03006, allocations: 0 / 286.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001939/0.032, allocations: 0.681 MB / 287.3 MB, free: 2.543 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.03205, allocations: 55.91 kB / 287.3 MB, free: 2.477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.03225, allocations: 178.2 kB / 287.5 MB, free: 2.293 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.0323, allocations: 41.64 kB / 287.5 MB, free: 2.246 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.03247, allocations: 224.9 kB / 287.8 MB, free: 2.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.03264, allocations: 162.5 kB / 287.9 MB, free: 1.859 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.0328, allocations: 90.17 kB / 288 MB, free: 1.766 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.03298, allocations: 326.8 kB / 288.3 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.03332, allocations: 152.9 kB / 288.5 MB, free: 1.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.03375, allocations: 242 kB / 288.7 MB, free: 1.023 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007838/0.03454, allocations: 417.9 kB / 289.1 MB, free: 0.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.03454, allocations: 0 / 289.1 MB, free: 0.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001202/0.03574, allocations: 0.5643 MB / 289.7 MB, free: 8 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.03576, allocations: 8 kB / 289.7 MB, free: 0 / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.03577, allocations: 0 / 289.7 MB, free: 0 / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1086/0.1444, allocations: 98.95 kB / 289.8 MB, free: 28.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.1448, allocations: 97.3 kB / 289.9 MB, free: 28.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.1462, allocations: 1.637 MB / 291.5 MB, free: 26.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.1465, allocations: 52.03 kB / 291.6 MB, free: 26.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.1466, allocations: 24.83 kB / 291.6 MB, free: 26.88 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.0001665/0.1467, allocations: 166.2 kB / 291.8 MB, free: 26.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.1468, allocations: 41.08 kB / 291.8 MB, free: 26.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.1479, allocations: 0.534 MB / 292.3 MB, free: 26.69 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.1479, allocations: 5.719 kB / 292.3 MB, free: 26.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1479, allocations: 4.25 kB / 292.3 MB, free: 26.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1479, allocations: 2.719 kB / 292.3 MB, free: 26.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.1494, allocations: 0.9827 MB / 293.3 MB, free: 26.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1494, allocations: 1.406 kB / 293.3 MB, free: 26.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.1498, allocations: 85.16 kB / 293.4 MB, free: 26.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003618/0.1501, allocations: 94.56 kB / 293.5 MB, free: 26.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.1502, allocations: 17.94 kB / 293.5 MB, free: 26.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.1515, allocations: 1.633 MB / 295.2 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1515, allocations: 2.438 kB / 295.2 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.1529, allocations: 0.8218 MB / 296 MB, free: 24.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.153, allocations: 31.66 kB / 296 MB, free: 24.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.153, allocations: 11.45 kB / 296 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.1532, allocations: 20.05 kB / 296 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.932e-05/0.1533, allocations: 39.64 kB / 296.1 MB, free: 24.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.1534, allocations: 13.12 kB / 296.1 MB, free: 24.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.917e-05/0.1535, allocations: 127.3 kB / 296.2 MB, free: 24.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1535, allocations: 0 / 296.2 MB, free: 24.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005249/0.154, allocations: 152.3 kB / 296.4 MB, free: 24.11 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.0002047/0.1542, allocations: 151.7 kB / 296.5 MB, free: 24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009684/0.1552, allocations: 0.5396 MB / 297.1 MB, free: 23.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1552, allocations: 4.594 kB / 297.1 MB, free: 23.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005478/0.1557, allocations: 360.5 kB / 297.4 MB, free: 23.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.156, allocations: 36 kB / 297.4 MB, free: 23.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1572, allocations: 0.7807 MB / 298.2 MB, free: 23.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.1574, allocations: 206.7 kB / 298.4 MB, free: 22.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001723/0.1575, allocations: 47.5 kB / 298.5 MB, free: 22.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.495e-05/0.1576, allocations: 37.53 kB / 298.5 MB, free: 22.96 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1576, allocations: 0 / 298.5 MB, free: 22.96 MB / 266.7 MB Notification: Performance of Templates: time 0.009015/0.1667, allocations: 4.309 MB / 302.8 MB, free: 22.19 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.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.414985053939745]