Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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.001081/0.001081, allocations: 91.22 kB / 20.43 MB, free: 4.145 MB / 18.57 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.001144/0.001144, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9732/0.9732, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1287/0.1287, allocations: 32.38 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.238e-05, allocations: 2.312 kB / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.0008912/0.0009135, allocations: 0.5219 MB / 348.2 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.002204, allocations: 1.44 MB / 349.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.002228, allocations: 0 / 349.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.002248, allocations: 4 kB / 349.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.002254, allocations: 0 / 349.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.002669, allocations: 103.5 kB / 349.7 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.412e-05/0.002723, allocations: 4 kB / 349.7 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.00276, allocations: 0 / 349.7 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.88e-05/0.002789, allocations: 4 kB / 349.7 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.69e-05/0.002816, allocations: 4 kB / 349.7 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.002826, allocations: 0 / 349.7 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.003083, allocations: 63.92 kB / 349.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.736e-06/0.003091, allocations: 0 / 349.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.003115, allocations: 4 kB / 349.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.592e-05/0.003211, allocations: 27.91 kB / 349.8 MB, free: 7.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.003214, allocations: 7.984 kB / 349.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003214, allocations: 0 / 349.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.003219, allocations: 3.938 kB / 349.8 MB, free: 7.27 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002062/0.003425, allocations: 370.1 kB / 350.2 MB, free: 6.867 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.003462, allocations: 8.031 kB / 350.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.003499, allocations: 4.938 kB / 350.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.349e-05/0.003542, allocations: 104.6 kB / 350.3 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.003554, allocations: 4.359 kB / 350.3 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.003564, allocations: 384 / 350.3 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.443e-05/0.003649, allocations: 55.97 kB / 350.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.003658, allocations: 192 / 350.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.003669, allocations: 4.375 kB / 350.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.003678, allocations: 3.938 kB / 350.4 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.662e-05/0.003695, allocations: 33.64 kB / 350.4 MB, free: 6.609 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.278e-05/0.003767, allocations: 108.6 kB / 350.5 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.235e-05/0.00381, allocations: 56.78 kB / 350.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.003825, allocations: 33.39 kB / 350.6 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-06/0.00383, allocations: 4.062 kB / 350.6 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.003859, allocations: 59.09 kB / 350.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.00386, allocations: 0 / 350.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001573/0.004017, allocations: 126.7 kB / 350.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.004048, allocations: 81.05 kB / 350.9 MB, free: 6.027 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.535e-05/0.004073, allocations: 146.2 kB / 351 MB, free: 5.871 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.641e-06/0.004079, allocations: 25.7 kB / 351 MB, free: 5.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.329e-05/0.004092, allocations: 126.9 kB / 351.2 MB, free: 5.711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.004111, allocations: 352 / 351.2 MB, free: 5.711 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.004133, allocations: 19.38 kB / 351.2 MB, free: 5.684 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.787e-05/0.00418, allocations: 492.1 kB / 351.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.004195, allocations: 29.7 kB / 351.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-06/0.004204, allocations: 33.69 kB / 351.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.564e-05/0.00424, allocations: 63.28 kB / 351.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004242, allocations: 0 / 351.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.329e-05/0.004285, allocations: 93 kB / 351.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.004309, allocations: 37.69 kB / 351.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.004314, allocations: 0 / 351.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.004328, allocations: 0 / 351.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.486e-06/0.004332, allocations: 3.938 kB / 351.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.004339, allocations: 3.938 kB / 351.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-06/0.004349, allocations: 0 / 351.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.004357, allocations: 4 kB / 351.9 MB, free: 4.875 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 4.862e-05/0.004406, allocations: 186.3 kB / 352.1 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-06/0.004411, allocations: 7.984 kB / 352.1 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.26e-05/0.004423, allocations: 3 kB / 352.1 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.004425, allocations: 3.984 kB / 352.1 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.004429, allocations: 0 / 352.1 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.004434, allocations: 3.938 kB / 352.1 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.638e-05/0.00447, allocations: 108.6 kB / 352.2 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.004471, allocations: 0 / 352.2 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.004471, allocations: 4 kB / 352.2 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-07/0.004472, allocations: 0 / 352.2 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.00448, allocations: 4 kB / 352.2 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.00448, allocations: 0 / 352.2 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.004481, allocations: 0 / 352.2 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.774e-05/0.004539, allocations: 139.7 kB / 352.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-06/0.004543, allocations: 0 / 352.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.004555, allocations: 0 / 352.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-06/0.004558, allocations: 0 / 352.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.004574, allocations: 3.984 kB / 352.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-06/0.004575, allocations: 4 kB / 352.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.711e-05/0.004592, allocations: 123.1 kB / 352.5 MB, free: 4.207 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.004592, allocations: 0 / 352.5 MB, free: 4.207 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000126/0.004718, allocations: 15.97 kB / 352.5 MB, free: 4.191 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002257/0.004944, allocations: 138.4 kB / 352.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.523e-05/0.005019, allocations: 122.4 kB / 352.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.005021, allocations: 0 / 352.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.409e-05/0.005035, allocations: 88.8 kB / 352.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.857e-05/0.005123, allocations: 8 kB / 352.9 MB, free: 3.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000146/0.00527, allocations: 117.8 kB / 353 MB, free: 3.645 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.917e-05/0.005289, allocations: 51.36 kB / 353 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.36e-06/0.005294, allocations: 0 / 353 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.005308, allocations: 12.44 kB / 353 MB, free: 3.562 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.005309, allocations: 0 / 353 MB, free: 3.562 MB / 282.7 MB Notification: Performance of Templates: time 0.001978/0.007287, allocations: 0.5557 MB / 353.6 MB, free: 3.008 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.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: 3.0357178119011223]