Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.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.001732/0.001732, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.002136/0.002136, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 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.437/1.437, allocations: 230.5 MB / 258.1 MB, free: 7.781 MB / 206.1 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.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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 67.89 kB / 379 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2432, allocations: 53.4 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004487/0.2477, allocations: 2.715 MB / 435.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.2492, allocations: 0.67 MB / 435.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/0.2494, allocations: 11.94 kB / 435.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.2496, allocations: 59.42 kB / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.2499, allocations: 95.19 kB / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.2501, allocations: 87.83 kB / 436 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00049/0.2506, allocations: 390.8 kB / 436.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.2509, allocations: 112.8 kB / 436.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.2512, allocations: 155.5 kB / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.2514, allocations: 139.3 kB / 436.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.2514, allocations: 32 kB / 436.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.516e-05/0.2515, allocations: 32 kB / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-05/0.2515, allocations: 75.77 kB / 436.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.2517, allocations: 135.4 kB / 437.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.2522, allocations: 389.4 kB / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2522, allocations: 0 / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2522, allocations: 3.938 kB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.2522, allocations: 0 / 437.5 MB, free: 1.43 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.001008/0.2532, allocations: 0.556 MB / 438 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2532, allocations: 11.98 kB / 438 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.968e-05/0.2533, allocations: 40.7 kB / 438.1 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.2537, allocations: 198.7 kB / 438.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.2537, allocations: 29.03 kB / 438.3 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.175e-05/0.2538, allocations: 36.38 kB / 438.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006581/0.2544, allocations: 337.8 kB / 438.7 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.2544, allocations: 3.984 kB / 438.7 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.2545, allocations: 8 kB / 438.7 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.2545, allocations: 8 kB / 438.7 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.255, allocations: 210.6 kB / 438.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.2565, allocations: 0.8594 MB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.2568, allocations: 154.5 kB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.2571, allocations: 120.8 kB / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.2572, allocations: 0 / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.2572, allocations: 38.5 kB / 440 MB, free: 14.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.2572, allocations: 3.938 kB / 440.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005917/0.2578, allocations: 228.4 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.2578, allocations: 59.41 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.2581, allocations: 195.1 kB / 440.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.2581, allocations: 29.7 kB / 440.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.2583, allocations: 200.3 kB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.353e-05/0.2584, allocations: 79.31 kB / 440.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.2585, allocations: 49.98 kB / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.2587, allocations: 326.8 kB / 441.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.2589, allocations: 68.52 kB / 441.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.2591, allocations: 151.6 kB / 441.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.2595, allocations: 221.2 kB / 441.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2595, allocations: 0 / 441.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005383/0.2601, allocations: 269.2 kB / 441.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2601, allocations: 10.75 kB / 441.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2601, allocations: 4 kB / 441.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.2601, allocations: 4 kB / 441.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.2604, allocations: 76.14 kB / 442 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.2604, allocations: 11.94 kB / 442 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.2606, allocations: 35.7 kB / 442 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2606, allocations: 12 kB / 442 MB, free: 12.57 MB / 350.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.0001595/0.2608, allocations: 141.8 kB / 442.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.2608, allocations: 19.84 kB / 442.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.2613, allocations: 194.7 kB / 442.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2613, allocations: 4 kB / 442.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2613, allocations: 0 / 442.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2613, allocations: 7.984 kB / 442.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008258/0.2621, allocations: 0.4956 MB / 442.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.2621, allocations: 4 kB / 442.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.2624, allocations: 55.91 kB / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.2624, allocations: 4 kB / 443 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.2624, allocations: 8 kB / 443 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.486e-05/0.2624, allocations: 7.984 kB / 443 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2624, allocations: 4.062 kB / 443 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006466/0.2631, allocations: 373.3 kB / 443.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.2631, allocations: 27.91 kB / 443.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.2632, allocations: 0 / 443.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.2633, allocations: 16.03 kB / 443.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.2634, allocations: 23.95 kB / 443.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.2634, allocations: 8 kB / 443.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.2635, allocations: 144.5 kB / 443.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2635, allocations: 0 / 443.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003541/0.2639, allocations: 79.73 kB / 443.6 MB, free: 10.9 MB / 350.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.0001327/0.264, allocations: 103.1 kB / 443.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004228/0.2645, allocations: 175.4 kB / 443.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2645, allocations: 4 kB / 443.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.2646, allocations: 79.83 kB / 444 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.265, allocations: 24.22 kB / 444 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.2664, allocations: 0.8699 MB / 444.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.2666, allocations: 163.1 kB / 445 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/0.2667, allocations: 23.44 kB / 445.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2667, allocations: 0 / 445.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of Templates: time 0.005463/0.2722, allocations: 3.029 MB / 448.1 MB, free: 6.383 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.075159975327551]