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.0007889/0.0007889, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.001898, 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.0007098/0.0007098, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009696/0.001679, 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 1.164/1.164, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09523/1.259, 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.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.202e-06/1.202e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.451e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00261/0.002625, allocations: 2.923 MB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007423/0.003367, allocations: 0.7278 MB / 248.9 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.003473, allocations: 11.94 kB / 248.9 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.003599, allocations: 59.42 kB / 248.9 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.003712, allocations: 99.06 kB / 249 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.003853, allocations: 99.8 kB / 249.1 MB, free: 9.621 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.004119, allocations: 394.7 kB / 249.5 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.004303, allocations: 123.4 kB / 249.6 MB, free: 9.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.004585, allocations: 239.5 kB / 249.9 MB, free: 8.879 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.004711, allocations: 115.7 kB / 250 MB, free: 8.766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.004748, allocations: 32 kB / 250 MB, free: 8.734 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.579e-05/0.004784, allocations: 32 kB / 250.1 MB, free: 8.703 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.004825, allocations: 55.81 kB / 250.1 MB, free: 8.648 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.004898, allocations: 99.81 kB / 250.2 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.00516, allocations: 239 kB / 250.4 MB, free: 8.316 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/0.005173, allocations: 0 / 250.4 MB, free: 8.316 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005174, allocations: 0 / 250.4 MB, free: 8.316 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.005186, allocations: 4 kB / 250.4 MB, free: 8.312 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006794/0.005866, allocations: 0.5856 MB / 251 MB, free: 7.703 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.005903, allocations: 8.625 kB / 251 MB, free: 7.695 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.005971, allocations: 52.89 kB / 251.1 MB, free: 7.645 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.006194, allocations: 185.2 kB / 251.3 MB, free: 7.438 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.006213, allocations: 21.03 kB / 251.3 MB, free: 7.418 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.006261, allocations: 36.38 kB / 251.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.00654, allocations: 258.7 kB / 251.6 MB, free: 7.109 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.006551, allocations: 192 / 251.6 MB, free: 7.109 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.00657, allocations: 16.38 kB / 251.6 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.006581, allocations: 15.94 kB / 251.6 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.753e-05/0.006678, allocations: 76.5 kB / 251.7 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.007711, allocations: 0.7124 MB / 252.4 MB, free: 6.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.007845, allocations: 94.47 kB / 252.5 MB, free: 6.148 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.516e-05/0.00793, allocations: 69.16 kB / 252.6 MB, free: 6.078 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.007947, allocations: 4 kB / 252.6 MB, free: 6.074 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.007974, allocations: 42.52 kB / 252.6 MB, free: 6.023 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.007975, allocations: 0 / 252.6 MB, free: 6.023 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001964/0.008172, allocations: 109.6 kB / 252.7 MB, free: 5.91 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.008202, allocations: 59.34 kB / 252.8 MB, free: 5.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.008314, allocations: 196 kB / 253 MB, free: 5.637 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.008331, allocations: 29.7 kB / 253 MB, free: 5.602 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/0.008411, allocations: 196.2 kB / 253.2 MB, free: 5.406 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.008455, allocations: 75.36 kB / 253.3 MB, free: 5.332 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.008505, allocations: 49.95 kB / 253.3 MB, free: 5.277 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.00858, allocations: 334.8 kB / 253.6 MB, free: 4.941 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.762e-05/0.008607, allocations: 20.55 kB / 253.6 MB, free: 4.922 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.318e-05/0.008671, allocations: 103 kB / 253.7 MB, free: 4.789 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.008789, allocations: 161.1 kB / 253.9 MB, free: 4.598 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.008792, allocations: 4 kB / 253.9 MB, free: 4.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001371/0.008929, allocations: 153.4 kB / 254.1 MB, free: 4.438 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.008941, allocations: 16.19 kB / 254.1 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008946, allocations: 0 / 254.1 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.008961, allocations: 4 kB / 254.1 MB, free: 4.418 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.009204, allocations: 95.81 kB / 254.2 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.009211, allocations: 7.984 kB / 254.2 MB, free: 4.316 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.009273, allocations: 23.84 kB / 254.2 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.009284, allocations: 8 kB / 254.2 MB, free: 4.285 MB / 250.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 7.01e-05/0.009354, allocations: 129.7 kB / 254.3 MB, free: 4.148 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.009388, allocations: 27.97 kB / 254.4 MB, free: 4.121 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.009516, allocations: 119.3 kB / 254.5 MB, free: 4.004 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.009519, allocations: 4 kB / 254.5 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.009521, allocations: 0 / 254.5 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.009526, allocations: 0 / 254.5 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.009822, allocations: 351.6 kB / 254.8 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.009824, allocations: 0 / 254.8 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.009996, allocations: 72.94 kB / 254.9 MB, free: 3.562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.01001, allocations: 23.97 kB / 254.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.01002, allocations: 3.938 kB / 254.9 MB, free: 3.535 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.01003, allocations: 11.94 kB / 254.9 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01003, allocations: 0 / 254.9 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01003, allocations: 0 / 254.9 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.01022, allocations: 253.5 kB / 255.2 MB, free: 3.25 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.01024, allocations: 11.94 kB / 255.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.01031, allocations: 16.05 kB / 255.2 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.01035, allocations: 31.84 kB / 255.2 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.01036, allocations: 4 kB / 255.2 MB, free: 3.188 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.881e-05/0.0104, allocations: 48.88 kB / 255.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0104, allocations: 4 kB / 255.3 MB, free: 3.133 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.01057, allocations: 71.84 kB / 255.4 MB, free: 3.062 MB / 250.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 7.473e-05/0.01064, allocations: 92.34 kB / 255.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.01077, allocations: 105.9 kB / 255.6 MB, free: 2.855 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.01077, allocations: 7.938 kB / 255.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.953e-05/0.01083, allocations: 68.75 kB / 255.6 MB, free: 2.777 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.0111, allocations: 351 kB / 256 MB, free: 2.367 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.01325, allocations: 0.634 MB / 256.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.792e-05/0.01331, allocations: 96.3 kB / 256.7 MB, free: 1.582 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.549e-05/0.01337, allocations: 21.95 kB / 256.7 MB, free: 1.562 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.758e-05/0.01346, allocations: 91.34 kB / 256.8 MB, free: 1.473 MB / 250.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01346, allocations: 0 / 256.8 MB, free: 1.473 MB / 250.7 MB Notification: Performance of Templates: time 0.004341/0.01781, allocations: 2.164 MB / 259 MB, free: 15.34 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.737052481621504]