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.001476/0.001476, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001011/0.001011, allocations: 145.1 kB / 24.54 MB, free: 36 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 1.032/1.032, allocations: 173.3 MB / 201.1 MB, free: 8.961 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 2.365e-06/2.365e-06, allocations: 4 kB / 268 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.893e-05, allocations: 6.25 kB / 268 MB, free: 6.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.0017/0.001719, allocations: 1.516 MB / 269.5 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005507/0.00227, allocations: 450.8 kB / 269.9 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.002301, allocations: 0 / 269.9 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.00233, allocations: 7.875 kB / 269.9 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.859e-05/0.002418, allocations: 27.78 kB / 270 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.002569, allocations: 23.91 kB / 270 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.664e-05/0.002655, allocations: 75.7 kB / 270.1 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.002693, allocations: 4 kB / 270.1 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.002834, allocations: 39.84 kB / 270.1 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.002889, allocations: 27.91 kB / 270.1 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.002911, allocations: 8 kB / 270.1 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.002924, allocations: 4 kB / 270.1 MB, free: 4.109 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.002945, allocations: 15.97 kB / 270.2 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.002974, allocations: 19.92 kB / 270.2 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.003082, allocations: 47.81 kB / 270.2 MB, free: 4.027 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003084, allocations: 0 / 270.2 MB, free: 4.027 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003085, allocations: 0 / 270.2 MB, free: 4.027 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.003089, allocations: 0 / 270.2 MB, free: 4.027 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.0004322/0.003521, allocations: 400.3 kB / 270.6 MB, free: 3.602 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.003557, allocations: 12.92 kB / 270.6 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.003595, allocations: 4.938 kB / 270.6 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.342e-05/0.003689, allocations: 128.5 kB / 270.8 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.0037, allocations: 8.312 kB / 270.8 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.003713, allocations: 4.375 kB / 270.8 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.003896, allocations: 93.55 kB / 270.9 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.003905, allocations: 0 / 270.9 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.003916, allocations: 0 / 270.9 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.003926, allocations: 4 kB / 270.9 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.25e-05/0.003978, allocations: 11.92 kB / 270.9 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.004114, allocations: 144.1 kB / 271 MB, free: 3.109 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.259e-05/0.004207, allocations: 93.23 kB / 271.1 MB, free: 2.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.004246, allocations: 27.12 kB / 271.1 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.00426, allocations: 0 / 271.1 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.004281, allocations: 37.39 kB / 271.2 MB, free: 2.895 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.004282, allocations: 3.938 kB / 271.2 MB, free: 2.891 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001805/0.004463, allocations: 73.5 kB / 271.3 MB, free: 2.812 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.004508, allocations: 106.8 kB / 271.4 MB, free: 2.684 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.004595, allocations: 182.3 kB / 271.5 MB, free: 2.488 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.004606, allocations: 29.7 kB / 271.6 MB, free: 2.453 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.00466, allocations: 138.9 kB / 271.7 MB, free: 2.312 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.004694, allocations: 11.84 kB / 271.7 MB, free: 2.301 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.004728, allocations: 27.36 kB / 271.7 MB, free: 2.266 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.004886, allocations: 0.4922 MB / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.786e-05/0.004914, allocations: 8 kB / 272.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.51e-05/0.004949, allocations: 34.98 kB / 272.3 MB, free: 1.707 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.635e-05/0.005005, allocations: 35.06 kB / 272.3 MB, free: 1.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005007, allocations: 4 kB / 272.3 MB, free: 1.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.276e-05/0.00509, allocations: 61.58 kB / 272.4 MB, free: 1.59 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.005104, allocations: 7.938 kB / 272.4 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.005109, allocations: 7.984 kB / 272.4 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.005122, allocations: 96 / 272.4 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/0.005209, allocations: 19.91 kB / 272.4 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.005217, allocations: 11.98 kB / 272.4 MB, free: 1.543 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.005249, allocations: 4 kB / 272.4 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.005256, allocations: 96 / 272.4 MB, free: 1.539 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 8.549e-05/0.005341, allocations: 168.6 kB / 272.6 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.005356, allocations: 7.953 kB / 272.6 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.005386, allocations: 15.91 kB / 272.6 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.005389, allocations: 0 / 272.6 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.005393, allocations: 0 / 272.6 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.005398, allocations: 4 kB / 272.6 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.94e-05/0.005488, allocations: 128.6 kB / 272.7 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005488, allocations: 0 / 272.7 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.00553, allocations: 15.98 kB / 272.8 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.005532, allocations: 0 / 272.8 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.005542, allocations: 8 kB / 272.8 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.005546, allocations: 7.938 kB / 272.8 MB, free: 1.141 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005546, allocations: 3.938 kB / 272.8 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.005665, allocations: 107.8 kB / 272.9 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.005676, allocations: 3.953 kB / 272.9 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.005688, allocations: 4 kB / 272.9 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.114e-05/0.005719, allocations: 11.92 kB / 272.9 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.00578, allocations: 11.98 kB / 272.9 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.005784, allocations: 0 / 272.9 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.555e-05/0.005839, allocations: 146.5 kB / 273.1 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005839, allocations: 0 / 273.1 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001336/0.005973, allocations: 8 kB / 273.1 MB, free: 0.8203 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.787e-05/0.006041, allocations: 95.19 kB / 273.2 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.006145, allocations: 31.61 kB / 273.2 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006147, allocations: 3.938 kB / 273.2 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.006177, allocations: 19.67 kB / 273.2 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.006297, allocations: 8.375 kB / 273.2 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.006818, allocations: 201.2 kB / 273.4 MB, free: 424 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.669e-05/0.006854, allocations: 59.34 kB / 273.5 MB, free: 344 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.682e-05/0.006881, allocations: 4 kB / 273.5 MB, free: 340 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.006918, allocations: 16.48 kB / 273.5 MB, free: 324 kB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.006919, allocations: 4 kB / 273.5 MB, free: 320 kB / 250.7 MB Notification: Performance of Templates: time 0.002441/0.009359, allocations: 0.6362 MB / 274.1 MB, free: 15.68 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.6296624056994915]