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.001305/0.001305, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.0009785/0.0009785, allocations: 173 kB / 24.14 MB, free: 356 kB / 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 1.021/1.021, allocations: 158.6 MB / 186 MB, free: 2.77 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.1372/0.1372, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.874e-06/1.874e-06, allocations: 0 / 299 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.857e-05, allocations: 2.312 kB / 299 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001366/0.001395, allocations: 0.5014 MB / 299.5 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.003035, allocations: 1.44 MB / 301 MB, free: 272 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.003058, allocations: 8 kB / 301 MB, free: 264 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.003071, allocations: 0 / 301 MB, free: 264 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/0.003077, allocations: 0 / 301 MB, free: 264 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.003547, allocations: 107.4 kB / 301.1 MB, free: 156 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.979e-05/0.003596, allocations: 4 kB / 301.1 MB, free: 152 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.003631, allocations: 0 / 301.1 MB, free: 152 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.831e-05/0.00366, allocations: 0 / 301.1 MB, free: 152 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.781e-05/0.003688, allocations: 4 kB / 301.1 MB, free: 148 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.003696, allocations: 0 / 301.1 MB, free: 148 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.003951, allocations: 67.88 kB / 301.2 MB, free: 80 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.488e-06/0.003961, allocations: 3.984 kB / 301.2 MB, free: 76 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.336e-05/0.003974, allocations: 0 / 301.2 MB, free: 76 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.656e-05/0.004061, allocations: 27.92 kB / 301.2 MB, free: 48 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004063, allocations: 0 / 301.2 MB, free: 48 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.004064, allocations: 0 / 301.2 MB, free: 48 kB / 282.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.004068, allocations: 0 / 301.2 MB, free: 48 kB / 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.1463/0.1504, allocations: 244.9 kB / 301.4 MB, free: 19.06 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1505, allocations: 9.219 kB / 301.5 MB, free: 19.06 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.1505, allocations: 1.688 kB / 301.5 MB, free: 19.06 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.1e-05/0.1505, allocations: 108.2 kB / 301.6 MB, free: 18.94 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1505, allocations: 384 / 301.6 MB, free: 18.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-06/0.1505, allocations: 1.562 kB / 301.6 MB, free: 18.94 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.289e-05/0.1506, allocations: 58.75 kB / 301.6 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1506, allocations: 0.7031 kB / 301.6 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-06/0.1506, allocations: 1.094 kB / 301.6 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1506, allocations: 4.469 kB / 301.6 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.386e-05/0.1506, allocations: 32.27 kB / 301.7 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.829e-05/0.1507, allocations: 55.52 kB / 301.7 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.699e-05/0.1507, allocations: 47.27 kB / 301.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.1507, allocations: 33.02 kB / 301.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-06/0.1508, allocations: 0.6875 kB / 301.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1508, allocations: 62.81 kB / 301.9 MB, free: 18.61 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.1508, allocations: 0 / 301.9 MB, free: 18.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001088/0.1509, allocations: 115.8 kB / 302 MB, free: 18.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.1509, allocations: 78.86 kB / 302 MB, free: 18.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.243e-05/0.1509, allocations: 91.3 kB / 302.1 MB, free: 18.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.1509, allocations: 26.48 kB / 302.2 MB, free: 18.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.095e-05/0.151, allocations: 81.36 kB / 302.2 MB, free: 18.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.151, allocations: 3.672 kB / 302.2 MB, free: 18.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.151, allocations: 14.77 kB / 302.3 MB, free: 18.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.857e-05/0.151, allocations: 317.3 kB / 302.6 MB, free: 17.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.1511, allocations: 30.42 kB / 302.6 MB, free: 17.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.404e-05/0.1511, allocations: 29.06 kB / 302.6 MB, free: 17.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.01e-05/0.1511, allocations: 65.88 kB / 302.7 MB, free: 17.71 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1511, allocations: 0.6875 kB / 302.7 MB, free: 17.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.206e-05/0.1512, allocations: 85.61 kB / 302.8 MB, free: 17.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.1512, allocations: 35.73 kB / 302.8 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1512, allocations: 0.6562 kB / 302.8 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1512, allocations: 2.672 kB / 302.8 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.487e-06/0.1512, allocations: 2.906 kB / 302.8 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.1512, allocations: 0 / 302.8 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.1512, allocations: 1.75 kB / 302.8 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1512, allocations: 0 / 302.8 MB, free: 17.59 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 5.336e-05/0.1513, allocations: 140.8 kB / 303 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.1513, allocations: 4.406 kB / 303 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.584e-05/0.1513, allocations: 5.047 kB / 303 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1513, allocations: 1.344 kB / 303 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.1513, allocations: 1.312 kB / 303 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1513, allocations: 1.984 kB / 303 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.455e-05/0.1514, allocations: 64.59 kB / 303 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1514, allocations: 2.188 kB / 303 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-06/0.1514, allocations: 2.391 kB / 303 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1514, allocations: 1.312 kB / 303 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-06/0.1514, allocations: 0 / 303 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1514, allocations: 2.156 kB / 303 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1514, allocations: 0 / 303 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.417e-05/0.1515, allocations: 122 kB / 303.2 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.1515, allocations: 2.141 kB / 303.2 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.1515, allocations: 0.5625 kB / 303.2 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-06/0.1515, allocations: 4.812 kB / 303.2 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-06/0.1515, allocations: 1.656 kB / 303.2 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1515, allocations: 4.938 kB / 303.2 MB, free: 17.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.811e-06/0.1515, allocations: 4.859 kB / 303.2 MB, free: 17.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1515, allocations: 0 / 303.2 MB, free: 17.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001133/0.1516, allocations: 14.81 kB / 303.2 MB, free: 17.22 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.0002478/0.1519, allocations: 114.1 kB / 303.3 MB, free: 17.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.275e-05/0.1519, allocations: 123.5 kB / 303.4 MB, free: 17.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1519, allocations: 0 / 303.4 MB, free: 17.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.824e-05/0.152, allocations: 87.72 kB / 303.5 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.494e-05/0.152, allocations: 11.02 kB / 303.5 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000132/0.1521, allocations: 112.1 kB / 303.6 MB, free: 16.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.139e-05/0.1521, allocations: 54.12 kB / 303.7 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.36e-06/0.1522, allocations: 0 / 303.7 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.1522, allocations: 52.58 kB / 303.7 MB, free: 16.68 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1522, allocations: 1.5 kB / 303.7 MB, free: 16.68 MB / 282.7 MB Notification: Performance of Templates: time 0.002766/0.155, allocations: 0.6032 MB / 304.3 MB, free: 16.64 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: 2.863077251240611]