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.001017/0.001017, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001187/0.001187, allocations: 164.2 kB / 24.91 MB, free: 8.754 MB / 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 0.9541/0.9541, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.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.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 1.403e-06/1.403e-06, allocations: 0 / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.086e-05, allocations: 2.312 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00351/0.003531, allocations: 2.868 MB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.004828, allocations: 0.7163 MB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.00498, allocations: 7.938 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.005157, allocations: 63.42 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.005323, allocations: 91.12 kB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.005567, allocations: 91.88 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.005906, allocations: 394.7 kB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.006192, allocations: 131.4 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003852/0.006578, allocations: 227.5 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.006734, allocations: 119.6 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.006779, allocations: 32 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.148e-05/0.006821, allocations: 36 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.006874, allocations: 71.75 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.00698, allocations: 115.7 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.007258, allocations: 255.1 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.00726, allocations: 3.938 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.007261, allocations: 0 / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.007265, allocations: 0 / 278.6 MB, free: 11.86 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006232/0.007888, allocations: 0.5234 MB / 279.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.007922, allocations: 19.92 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.008, allocations: 52.89 kB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.008217, allocations: 173.3 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.00824, allocations: 29.02 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.00829, allocations: 32.38 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.008583, allocations: 258.7 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.008593, allocations: 192 / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.008616, allocations: 16.38 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.008627, allocations: 15.94 kB / 279.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.008744, allocations: 72.56 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009669/0.00971, allocations: 0.7201 MB / 280.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.009867, allocations: 98.34 kB / 280.6 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.009973, allocations: 69.16 kB / 280.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.009991, allocations: 11.89 kB / 280.7 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.01001, allocations: 42.55 kB / 280.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.273e-06/0.01002, allocations: 0 / 280.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001986/0.01021, allocations: 109.6 kB / 280.8 MB, free: 9.508 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.01024, allocations: 51.41 kB / 280.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.01036, allocations: 194.8 kB / 281 MB, free: 9.242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.01038, allocations: 29.7 kB / 281.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.01046, allocations: 196.2 kB / 281.3 MB, free: 9.008 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.0105, allocations: 71.38 kB / 281.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.01057, allocations: 49.95 kB / 281.4 MB, free: 8.883 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.01065, allocations: 334.8 kB / 281.7 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.01069, allocations: 24.48 kB / 281.7 MB, free: 8.523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.147e-05/0.01077, allocations: 107 kB / 281.8 MB, free: 8.387 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.01091, allocations: 149.1 kB / 282 MB, free: 8.207 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.01092, allocations: 4 kB / 282 MB, free: 8.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001981/0.01111, allocations: 153.4 kB / 282.1 MB, free: 8.047 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.01113, allocations: 12.25 kB / 282.2 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01113, allocations: 0 / 282.2 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.01115, allocations: 7.938 kB / 282.2 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.01135, allocations: 71.91 kB / 282.2 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.01135, allocations: 11.88 kB / 282.2 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.911e-05/0.01144, allocations: 31.77 kB / 282.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.01146, allocations: 4 kB / 282.3 MB, free: 7.91 MB / 266.7 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 8.737e-05/0.01154, allocations: 129.8 kB / 282.4 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.01158, allocations: 19.98 kB / 282.4 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.01174, allocations: 119.4 kB / 282.5 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.01174, allocations: 0 / 282.5 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01174, allocations: 4 kB / 282.5 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01175, allocations: 0 / 282.5 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003835/0.01213, allocations: 359.3 kB / 282.9 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01213, allocations: 0 / 282.9 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.01232, allocations: 48.02 kB / 282.9 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01232, allocations: 7.984 kB / 282.9 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.01233, allocations: 4 kB / 283 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.01234, allocations: 8.062 kB / 283 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.01234, allocations: 0 / 283 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.01258, allocations: 254.6 kB / 283.2 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.0126, allocations: 23.8 kB / 283.2 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.01263, allocations: 4 kB / 283.2 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.01273, allocations: 16.05 kB / 283.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.01277, allocations: 19.97 kB / 283.3 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.01278, allocations: 4 kB / 283.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.159e-05/0.01283, allocations: 52.81 kB / 283.3 MB, free: 6.789 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01283, allocations: 0 / 283.3 MB, free: 6.789 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002889/0.01312, allocations: 79.78 kB / 283.4 MB, free: 6.711 MB / 266.7 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.0001073/0.01323, allocations: 88.34 kB / 283.5 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.0134, allocations: 108.6 kB / 283.6 MB, free: 6.504 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.0134, allocations: 11.88 kB / 283.6 MB, free: 6.492 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.904e-05/0.01346, allocations: 56.81 kB / 283.7 MB, free: 6.438 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.01369, allocations: 32.77 kB / 283.7 MB, free: 6.406 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.01469, allocations: 0.589 MB / 284.3 MB, free: 5.785 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.327e-05/0.01476, allocations: 95.97 kB / 284.4 MB, free: 5.668 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.515e-05/0.01483, allocations: 26.02 kB / 284.4 MB, free: 5.645 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.01494, allocations: 87.36 kB / 284.5 MB, free: 5.559 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01494, allocations: 0 / 284.5 MB, free: 5.559 MB / 266.7 MB Notification: Performance of Templates: time 0.004585/0.01952, allocations: 1.927 MB / 286.4 MB, free: 3.668 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.655106130056083]