Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 168.5 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.372e-05, allocations: 3.625 kB / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004787/0.004821, allocations: 2.716 MB / 327.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.006437, allocations: 0.6888 MB / 328.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.006634, allocations: 9.188 kB / 328.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.006883, allocations: 63.14 kB / 328.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.007123, allocations: 93.92 kB / 328.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.007451, allocations: 92.06 kB / 328.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005056/0.007957, allocations: 391.9 kB / 329.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.008241, allocations: 118.4 kB / 329.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.00866, allocations: 230.6 kB / 329.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.00888, allocations: 113.2 kB / 329.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.684e-05/0.008937, allocations: 32.78 kB / 329.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.522e-05/0.009002, allocations: 33.09 kB / 329.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.4e-05/0.009086, allocations: 73.59 kB / 329.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.009248, allocations: 118.1 kB / 329.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.009821, allocations: 400.4 kB / 330.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.009824, allocations: 0.7969 kB / 330.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.009825, allocations: 1.25 kB / 330.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.009832, allocations: 0 / 330.2 MB, free: 13.39 MB / 302.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.001079/0.01091, allocations: 0.5491 MB / 330.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.01095, allocations: 9.719 kB / 330.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.428e-05/0.01103, allocations: 42.73 kB / 330.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.01138, allocations: 195 kB / 331 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.01142, allocations: 28.84 kB / 331 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.914e-05/0.01148, allocations: 33.28 kB / 331.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005908/0.01207, allocations: 330.3 kB / 331.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.01208, allocations: 192 / 331.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.01211, allocations: 15.34 kB / 331.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.01212, allocations: 12.06 kB / 331.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/0.01261, allocations: 211.7 kB / 331.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.0142, allocations: 0.8576 MB / 332.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.01458, allocations: 148 kB / 332.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.01491, allocations: 117.8 kB / 332.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.01493, allocations: 2.25 kB / 332.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.01497, allocations: 44.73 kB / 332.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/0.01497, allocations: 0 / 332.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006447/0.01562, allocations: 225.2 kB / 333 MB, free: 11.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.01567, allocations: 53.62 kB / 333.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.01591, allocations: 206.9 kB / 333.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.01594, allocations: 30.8 kB / 333.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.0161, allocations: 201.8 kB / 333.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.624e-05/0.01617, allocations: 75.89 kB / 333.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.788e-05/0.01626, allocations: 51.7 kB / 333.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.01645, allocations: 331.8 kB / 333.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.01663, allocations: 64.72 kB / 334 MB, free: 10.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.01689, allocations: 154.7 kB / 334.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.01733, allocations: 225.7 kB / 334.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01733, allocations: 0 / 334.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005513/0.01788, allocations: 277 kB / 334.6 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.0179, allocations: 6.25 kB / 334.7 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.01791, allocations: 7.5 kB / 334.7 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.01793, allocations: 8.25 kB / 334.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.01824, allocations: 67.03 kB / 334.7 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.01825, allocations: 7.547 kB / 334.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.01843, allocations: 29.88 kB / 334.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.01845, allocations: 8.75 kB / 334.8 MB, free: 9.957 MB / 302.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.0001891/0.01864, allocations: 154.2 kB / 334.9 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.01869, allocations: 25.91 kB / 335 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/0.01917, allocations: 194.2 kB / 335.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01918, allocations: 2.438 kB / 335.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.01919, allocations: 5.375 kB / 335.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.01919, allocations: 0 / 335.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008627/0.02005, allocations: 0.4927 MB / 335.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.02006, allocations: 4.062 kB / 335.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.02035, allocations: 63.05 kB / 335.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.02036, allocations: 6.188 kB / 335.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.02038, allocations: 6.812 kB / 335.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.02038, allocations: 1.188 kB / 335.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.02039, allocations: 1.188 kB / 335.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.02105, allocations: 368.6 kB / 336.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.02109, allocations: 25.98 kB / 336.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.02113, allocations: 10.66 kB / 336.1 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.02131, allocations: 16.89 kB / 336.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.02137, allocations: 14.44 kB / 336.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.02138, allocations: 4.125 kB / 336.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.02151, allocations: 145.8 kB / 336.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02151, allocations: 0 / 336.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.02188, allocations: 76.78 kB / 336.4 MB, free: 8.812 MB / 302.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.0001591/0.02204, allocations: 111.2 kB / 336.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004345/0.02247, allocations: 161.6 kB / 336.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.02248, allocations: 0 / 336.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.02267, allocations: 86.14 kB / 336.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.02302, allocations: 42.94 kB / 336.8 MB, free: 8.578 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.02438, allocations: 0.6929 MB / 337.5 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.02455, allocations: 156.3 kB / 337.6 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.963e-05/0.02464, allocations: 24.28 kB / 337.6 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.0247, allocations: 20.59 kB / 337.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.0247, allocations: 0 / 337.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of Templates: time 0.005636/0.03034, allocations: 1.811 MB / 339.5 MB, free: 6.391 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.482579033821821]