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.000743/0.000743, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009613/0.001704, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006534/0.0006534, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009256/0.001579, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9939/0.9939, allocations: 173.4 MB / 185.8 MB, free: 9.004 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08602/1.08, allocations: 52.49 MB / 238.3 MB, free: 4.445 MB / 234.7 MB " [Timeout remaining time 179] 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 1.813e-06/1.813e-06, allocations: 0 / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.381e-05, allocations: 2.312 kB / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004311/0.004335, allocations: 2.896 MB / 242.5 MB, free: 276 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.005805, allocations: 0.6968 MB / 243.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.006004, allocations: 7.938 kB / 243.2 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.006177, allocations: 67.36 kB / 243.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.006395, allocations: 83.14 kB / 243.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.00664, allocations: 95.86 kB / 243.4 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.007085, allocations: 394.7 kB / 243.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.007354, allocations: 123.4 kB / 243.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004155/0.007769, allocations: 251.3 kB / 244.2 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.00795, allocations: 107.7 kB / 244.3 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.929e-05/0.00801, allocations: 32 kB / 244.3 MB, free: 14.42 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.242e-05/0.008062, allocations: 36 kB / 244.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.008121, allocations: 51.81 kB / 244.4 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.008242, allocations: 103.8 kB / 244.5 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.008585, allocations: 235.1 kB / 244.7 MB, free: 14 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.789e-05/0.008603, allocations: 0 / 244.7 MB, free: 14 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.008604, allocations: 0 / 244.7 MB, free: 14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.008625, allocations: 0 / 244.7 MB, free: 14 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.0009174/0.009543, allocations: 0.5972 MB / 245.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.009581, allocations: 12.03 kB / 245.3 MB, free: 13.37 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.83e-05/0.00967, allocations: 44.91 kB / 245.4 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.009956, allocations: 185.2 kB / 245.5 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.00998, allocations: 21.03 kB / 245.6 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.413e-05/0.01003, allocations: 32.38 kB / 245.6 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.01041, allocations: 258.7 kB / 245.8 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.01042, allocations: 4.188 kB / 245.9 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.01045, allocations: 20.36 kB / 245.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.01046, allocations: 11.94 kB / 245.9 MB, free: 12.76 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.01062, allocations: 76.55 kB / 246 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.01186, allocations: 0.7162 MB / 246.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.01206, allocations: 86.53 kB / 246.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.0122, allocations: 76.75 kB / 246.8 MB, free: 11.76 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.01222, allocations: 3.938 kB / 246.8 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.01225, allocations: 42.55 kB / 246.9 MB, free: 11.7 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 2.224e-06/0.01225, allocations: 0 / 246.9 MB, free: 11.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.000256/0.01251, allocations: 113.9 kB / 247 MB, free: 11.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.01255, allocations: 59.41 kB / 247 MB, free: 11.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.0127, allocations: 190.2 kB / 247.2 MB, free: 11.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.01273, allocations: 33.7 kB / 247.3 MB, free: 11.28 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.01283, allocations: 188.3 kB / 247.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.01289, allocations: 75.31 kB / 247.5 MB, free: 11.02 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.01297, allocations: 57.91 kB / 247.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.01309, allocations: 334.7 kB / 247.9 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.01314, allocations: 20.55 kB / 247.9 MB, free: 10.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.01324, allocations: 110.5 kB / 248 MB, free: 10.45 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.01343, allocations: 145.2 kB / 248.2 MB, free: 10.28 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.01343, allocations: 0 / 248.2 MB, free: 10.28 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002607/0.01369, allocations: 157.5 kB / 248.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.01371, allocations: 12 kB / 248.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.01372, allocations: 4 kB / 248.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.01373, allocations: 4 kB / 248.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.01412, allocations: 90.83 kB / 248.4 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.01413, allocations: 11.92 kB / 248.5 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.01425, allocations: 23.84 kB / 248.5 MB, free: 9.977 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.01427, allocations: 12 kB / 248.5 MB, free: 9.965 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 0.000107/0.01438, allocations: 129.8 kB / 248.6 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.01442, allocations: 19.98 kB / 248.6 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.01463, allocations: 119.3 kB / 248.7 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.01463, allocations: 4 kB / 248.8 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.01464, allocations: 0 / 248.8 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01464, allocations: 3.984 kB / 248.8 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.01513, allocations: 347.1 kB / 249.1 MB, free: 9.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01513, allocations: 0 / 249.1 MB, free: 9.312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.01542, allocations: 71.95 kB / 249.2 MB, free: 9.242 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.01545, allocations: 27.78 kB / 249.2 MB, free: 9.215 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.01546, allocations: 7.969 kB / 249.2 MB, free: 9.207 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.01548, allocations: 8 kB / 249.2 MB, free: 9.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.01548, allocations: 0 / 249.2 MB, free: 9.199 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.01549, allocations: 7.938 kB / 249.2 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.01578, allocations: 249.5 kB / 249.5 MB, free: 8.922 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.01581, allocations: 4 kB / 249.5 MB, free: 8.918 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.01595, allocations: 19.98 kB / 249.5 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.016, allocations: 19.91 kB / 249.5 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.01601, allocations: 8 kB / 249.5 MB, free: 8.871 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.805e-05/0.01608, allocations: 53.56 kB / 249.6 MB, free: 8.816 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01608, allocations: 0 / 249.6 MB, free: 8.816 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003605/0.01644, allocations: 79.78 kB / 249.6 MB, free: 8.738 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 0.000132/0.01657, allocations: 84.36 kB / 249.7 MB, free: 8.648 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.01681, allocations: 116.2 kB / 249.8 MB, free: 8.535 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.148e-05/0.01683, allocations: 4 kB / 249.8 MB, free: 8.531 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.16e-05/0.01691, allocations: 60.75 kB / 249.9 MB, free: 8.469 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.01721, allocations: 47.91 kB / 249.9 MB, free: 8.422 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/0.02107, allocations: 0.6425 MB / 250.6 MB, free: 7.742 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.677e-05/0.02115, allocations: 96.3 kB / 250.7 MB, free: 7.629 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.02127, allocations: 21.95 kB / 250.7 MB, free: 7.609 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.02142, allocations: 83.36 kB / 250.8 MB, free: 7.527 MB / 250.7 MB Notification: Performance of SimCode: time 1.623e-06/0.02142, allocations: 0 / 250.8 MB, free: 7.527 MB / 250.7 MB Notification: Performance of Templates: time 0.006838/0.02826, allocations: 2.218 MB / 253 MB, free: 5.352 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.487839223816991]