Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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.0008355/0.0008355, allocations: 84 kB / 21.19 MB, free: 3.395 MB / 18.57 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.0008449/0.0008449, allocations: 145.1 kB / 24.54 MB, free: 44 kB / 18.57 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.9602/0.9602, allocations: 173.3 MB / 201.1 MB, free: 9.34 MB / 186.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.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.203e-05, allocations: 2.312 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.0017/0.001712, allocations: 1.512 MB / 269.5 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005664/0.002278, allocations: 454.7 kB / 269.9 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.002311, allocations: 0 / 269.9 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.002339, allocations: 3.938 kB / 269.9 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.848e-05/0.002427, allocations: 23.78 kB / 270 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.00257, allocations: 31.84 kB / 270 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.473e-05/0.002654, allocations: 71.7 kB / 270.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.002691, allocations: 8 kB / 270.1 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.002813, allocations: 43.84 kB / 270.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.002862, allocations: 27.91 kB / 270.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.002881, allocations: 7.984 kB / 270.2 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.002893, allocations: 4 kB / 270.2 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.002912, allocations: 7.984 kB / 270.2 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.002939, allocations: 19.92 kB / 270.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.312e-05/0.003032, allocations: 47.81 kB / 270.2 MB, free: 4.184 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003034, allocations: 0 / 270.2 MB, free: 4.184 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003035, allocations: 0 / 270.2 MB, free: 4.184 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.003039, allocations: 4 kB / 270.2 MB, free: 4.18 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005604/0.0036, allocations: 400.3 kB / 270.6 MB, free: 3.754 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.003641, allocations: 12.92 kB / 270.6 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.003676, allocations: 4.938 kB / 270.6 MB, free: 3.738 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.003778, allocations: 128.5 kB / 270.8 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.003789, allocations: 384 / 270.8 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.003803, allocations: 4.375 kB / 270.8 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.003971, allocations: 97.48 kB / 270.9 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.003982, allocations: 4 kB / 270.9 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.003991, allocations: 0 / 270.9 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.003998, allocations: 4 kB / 270.9 MB, free: 3.457 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.608e-05/0.004044, allocations: 11.92 kB / 270.9 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.004181, allocations: 144.1 kB / 271 MB, free: 3.262 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.232e-05/0.004264, allocations: 89.23 kB / 271.1 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.004299, allocations: 27.12 kB / 271.1 MB, free: 3.098 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.004314, allocations: 0 / 271.1 MB, free: 3.098 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.004336, allocations: 41.39 kB / 271.2 MB, free: 3.047 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 4.849e-06/0.004341, allocations: 4 kB / 271.2 MB, free: 3.043 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001696/0.00451, allocations: 73.44 kB / 271.3 MB, free: 2.965 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.00455, allocations: 106.8 kB / 271.4 MB, free: 2.836 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.004638, allocations: 185.4 kB / 271.5 MB, free: 2.641 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.004649, allocations: 25.7 kB / 271.6 MB, free: 2.609 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.004692, allocations: 138.9 kB / 271.7 MB, free: 2.469 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.004719, allocations: 15.89 kB / 271.7 MB, free: 2.453 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.004748, allocations: 19.38 kB / 271.7 MB, free: 2.426 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.004867, allocations: 0.4927 MB / 272.2 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.00489, allocations: 11.94 kB / 272.2 MB, free: 1.91 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.00492, allocations: 31.05 kB / 272.3 MB, free: 1.867 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.838e-05/0.004979, allocations: 39 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.004982, allocations: 4 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.391e-05/0.005065, allocations: 57.58 kB / 272.4 MB, free: 1.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.005078, allocations: 15.92 kB / 272.4 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.005083, allocations: 4.094 kB / 272.4 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.005097, allocations: 4 kB / 272.4 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.871e-05/0.005186, allocations: 15.98 kB / 272.4 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.005192, allocations: 3.938 kB / 272.4 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/0.005224, allocations: 7.938 kB / 272.4 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.005232, allocations: 7.984 kB / 272.4 MB, free: 1.691 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.114e-05/0.005303, allocations: 156.6 kB / 272.6 MB, free: 1.527 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.005317, allocations: 7.953 kB / 272.6 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.005348, allocations: 15.91 kB / 272.6 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.00535, allocations: 4 kB / 272.6 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.005355, allocations: 4 kB / 272.6 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.005358, allocations: 0 / 272.6 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.76e-05/0.005446, allocations: 132.6 kB / 272.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005447, allocations: 0 / 272.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.005489, allocations: 15.98 kB / 272.8 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.005491, allocations: 0 / 272.8 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.005498, allocations: 0 / 272.8 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.0055, allocations: 7.938 kB / 272.8 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005501, allocations: 0 / 272.8 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.005619, allocations: 119.8 kB / 272.9 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.005631, allocations: 7.953 kB / 272.9 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.005643, allocations: 0 / 272.9 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.423e-05/0.005677, allocations: 15.92 kB / 272.9 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.005721, allocations: 7.984 kB / 272.9 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.005724, allocations: 0 / 272.9 MB, free: 1.125 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.761e-05/0.005772, allocations: 139.2 kB / 273 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005772, allocations: 0 / 273 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001333/0.005905, allocations: 8 kB / 273.1 MB, free: 0.9805 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (4): * Single equations (assignments): 4 * 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 6.665e-05/0.005972, allocations: 99.19 kB / 273.2 MB, free: 0.875 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.786e-05/0.00607, allocations: 27.67 kB / 273.2 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.006071, allocations: 3.938 kB / 273.2 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.006102, allocations: 27.61 kB / 273.2 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.006227, allocations: 4 kB / 273.2 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.006692, allocations: 201.5 kB / 273.4 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.382e-05/0.006726, allocations: 59.34 kB / 273.5 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.54e-05/0.006751, allocations: 4 kB / 273.5 MB, free: 500 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.006787, allocations: 16.48 kB / 273.5 MB, free: 484 kB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.006787, allocations: 0 / 273.5 MB, free: 484 kB / 250.7 MB Notification: Performance of Templates: time 0.001943/0.00873, allocations: 0.6186 MB / 274.1 MB, free: 15.86 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.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.676607897039503]