Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.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.001368/0.001368, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001424/0.001424, allocations: 187.3 kB / 24.45 MB, free: 3.961 MB / 14.72 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 1.533/1.533, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 47.92 kB / 371.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2304, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004115/0.2346, allocations: 2.701 MB / 426.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2357, allocations: 0.6466 MB / 427.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.2358, allocations: 7.938 kB / 427.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.236, allocations: 51.44 kB / 427.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.2362, allocations: 91.2 kB / 427.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.2364, allocations: 103.8 kB / 427.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.2368, allocations: 382.8 kB / 427.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.2371, allocations: 108.8 kB / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.2373, allocations: 155.5 kB / 428.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.2375, allocations: 139.3 kB / 428.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.697e-05/0.2376, allocations: 32 kB / 428.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.147e-05/0.2376, allocations: 36 kB / 428.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.2377, allocations: 71.77 kB / 428.3 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.2378, allocations: 143.4 kB / 428.5 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.2383, allocations: 381.5 kB / 428.8 MB, free: 9.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2383, allocations: 4 kB / 428.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2383, allocations: 0 / 428.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.2383, allocations: 0 / 428.8 MB, free: 9.449 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009888/0.2393, allocations: 0.5559 MB / 429.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2393, allocations: 12.03 kB / 429.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/0.2394, allocations: 36.7 kB / 429.4 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.2397, allocations: 213.9 kB / 429.7 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.2397, allocations: 21.03 kB / 429.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.289e-05/0.2398, allocations: 40.27 kB / 429.7 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.2403, allocations: 333.8 kB / 430 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2404, allocations: 0 / 430 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.2404, allocations: 12 kB / 430.1 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.2404, allocations: 8 kB / 430.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.2409, allocations: 210.5 kB / 430.3 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.2423, allocations: 0.8479 MB / 431.1 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.2427, allocations: 162.5 kB / 431.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.243, allocations: 116.8 kB / 431.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.243, allocations: 4 kB / 431.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.2431, allocations: 46.42 kB / 431.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.252e-06/0.2431, allocations: 0 / 431.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005642/0.2436, allocations: 216.4 kB / 431.6 MB, free: 6.488 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.2437, allocations: 59.41 kB / 431.7 MB, free: 6.418 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.2439, allocations: 200.9 kB / 431.9 MB, free: 6.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.2439, allocations: 25.7 kB / 431.9 MB, free: 6.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.244, allocations: 192.4 kB / 432.1 MB, free: 5.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.2441, allocations: 79.34 kB / 432.2 MB, free: 5.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.147e-05/0.2442, allocations: 45.98 kB / 432.2 MB, free: 5.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2443, allocations: 334.8 kB / 432.6 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.2445, allocations: 64.52 kB / 432.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.2447, allocations: 151.2 kB / 432.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.2451, allocations: 229.1 kB / 433 MB, free: 5.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2451, allocations: 0 / 433 MB, free: 5.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005017/0.2456, allocations: 269.2 kB / 433.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2456, allocations: 11.94 kB / 433.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.2456, allocations: 4 kB / 433.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2457, allocations: 4 kB / 433.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.246, allocations: 76.14 kB / 433.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.246, allocations: 4 kB / 433.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.2461, allocations: 31.83 kB / 433.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.2461, allocations: 11.98 kB / 433.4 MB, free: 4.605 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.2463, allocations: 141.8 kB / 433.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.2463, allocations: 27.84 kB / 433.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004225/0.2468, allocations: 199.3 kB / 433.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2468, allocations: 0 / 433.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2468, allocations: 8 kB / 433.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2468, allocations: 0 / 433.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007663/0.2475, allocations: 0.5034 MB / 434.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2475, allocations: 0 / 434.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.2478, allocations: 59.91 kB / 434.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2478, allocations: 0 / 434.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.2478, allocations: 8 kB / 434.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2478, allocations: 4.062 kB / 434.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2478, allocations: 0 / 434.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.2484, allocations: 375.2 kB / 434.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.2485, allocations: 27.86 kB / 434.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.2485, allocations: 4 kB / 434.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.2487, allocations: 15.98 kB / 434.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.2488, allocations: 23.84 kB / 434.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.2488, allocations: 12 kB / 434.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.2489, allocations: 147 kB / 434.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2489, allocations: 0 / 434.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.2492, allocations: 75.78 kB / 435 MB, free: 2.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000114/0.2494, allocations: 103.2 kB / 435.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00041/0.2498, allocations: 172.2 kB / 435.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.2498, allocations: 4 kB / 435.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.2499, allocations: 79.8 kB / 435.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.2503, allocations: 28.64 kB / 435.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.2516, allocations: 0.8771 MB / 436.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.2518, allocations: 163 kB / 436.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.2518, allocations: 19.44 kB / 436.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2518, allocations: 4 kB / 436.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of Templates: time 0.005073/0.2569, allocations: 3.015 MB / 439.5 MB, free: 14.39 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.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: 7.238612927030772]