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.001161/0.001161, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001502/0.001502, allocations: 169 kB / 24.14 MB, free: 364 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 0.9414/0.9414, allocations: 158.6 MB / 186 MB, free: 2.766 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.129/0.129, 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.483e-06/1.483e-06, allocations: 0 / 299.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.937e-05, allocations: 2.312 kB / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001115/0.001134, allocations: 0.5485 MB / 299.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.002755, allocations: 1.447 MB / 301.1 MB, free: 168 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.913e-05/0.002774, allocations: 0 / 301.1 MB, free: 168 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.002786, allocations: 0 / 301.1 MB, free: 168 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.002792, allocations: 0 / 301.1 MB, free: 168 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.00321, allocations: 103.4 kB / 301.2 MB, free: 64 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.764e-05/0.003268, allocations: 4 kB / 301.2 MB, free: 60 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.003313, allocations: 3.984 kB / 301.2 MB, free: 56 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.295e-05/0.003346, allocations: 0 / 301.2 MB, free: 56 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.211e-05/0.003378, allocations: 4 kB / 301.2 MB, free: 52 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.136e-06/0.003386, allocations: 0 / 301.2 MB, free: 52 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1383/0.1417, allocations: 72.09 kB / 301.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.1417, allocations: 0 / 301.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.1417, allocations: 1.703 kB / 301.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.1418, allocations: 28.25 kB / 301.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1418, allocations: 1.328 kB / 301.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1418, allocations: 1.062 kB / 301.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.1418, allocations: 0 / 301.3 MB, free: 19.22 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.0001917/0.142, allocations: 244.2 kB / 301.5 MB, free: 18.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1421, allocations: 10.66 kB / 301.6 MB, free: 18.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.1421, allocations: 2.562 kB / 301.6 MB, free: 18.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.799e-05/0.1421, allocations: 103.6 kB / 301.7 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.1422, allocations: 5.031 kB / 301.7 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-06/0.1422, allocations: 2.203 kB / 301.7 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.855e-05/0.1422, allocations: 60.02 kB / 301.7 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.1422, allocations: 192 / 301.7 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.1422, allocations: 1.844 kB / 301.7 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1422, allocations: 4.5 kB / 301.7 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.251e-05/0.1422, allocations: 29.62 kB / 301.8 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.589e-05/0.1423, allocations: 58.33 kB / 301.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.607e-05/0.1423, allocations: 46.3 kB / 301.9 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.203e-05/0.1424, allocations: 32.48 kB / 301.9 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-06/0.1424, allocations: 1.344 kB / 301.9 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1424, allocations: 58.12 kB / 301.9 MB, free: 18.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.1424, allocations: 0 / 301.9 MB, free: 18.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.785e-05/0.1425, allocations: 121.3 kB / 302.1 MB, free: 18.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.1425, allocations: 81.56 kB / 302.1 MB, free: 18.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.678e-05/0.1425, allocations: 89.86 kB / 302.2 MB, free: 18.2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-06/0.1425, allocations: 28.62 kB / 302.3 MB, free: 18.17 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.745e-06/0.1425, allocations: 81.72 kB / 302.3 MB, free: 18.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.1426, allocations: 3 kB / 302.3 MB, free: 18.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.1426, allocations: 15.45 kB / 302.4 MB, free: 18.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.8e-05/0.1426, allocations: 316.6 kB / 302.7 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-06/0.1426, allocations: 28.47 kB / 302.7 MB, free: 17.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-06/0.1426, allocations: 28.92 kB / 302.7 MB, free: 17.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.107e-05/0.1427, allocations: 60.77 kB / 302.8 MB, free: 17.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1427, allocations: 2.5 kB / 302.8 MB, free: 17.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.052e-05/0.1427, allocations: 86.48 kB / 302.9 MB, free: 17.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.1427, allocations: 38.61 kB / 302.9 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1427, allocations: 0 / 302.9 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1427, allocations: 0 / 302.9 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.344e-06/0.1427, allocations: 2.156 kB / 302.9 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.1427, allocations: 1.984 kB / 302.9 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.1428, allocations: 0.6875 kB / 302.9 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1428, allocations: 1.438 kB / 302.9 MB, free: 17.5 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.057e-05/0.1428, allocations: 140.6 kB / 303.1 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.1428, allocations: 3.438 kB / 303.1 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.428e-06/0.1428, allocations: 3.875 kB / 303.1 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1428, allocations: 0.8906 kB / 303.1 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1428, allocations: 5.312 kB / 303.1 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1428, allocations: 1.172 kB / 303.1 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.743e-05/0.1429, allocations: 64.09 kB / 303.1 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1429, allocations: 1.469 kB / 303.1 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-06/0.1429, allocations: 1.328 kB / 303.1 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1429, allocations: 0 / 303.1 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.1429, allocations: 4.969 kB / 303.1 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.1429, allocations: 3.188 kB / 303.1 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1429, allocations: 0 / 303.1 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.119e-05/0.1429, allocations: 117.1 kB / 303.3 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-06/0.1429, allocations: 6.906 kB / 303.3 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.1429, allocations: 0.7031 kB / 303.3 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-06/0.1429, allocations: 1.969 kB / 303.3 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-06/0.143, allocations: 1.328 kB / 303.3 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.143, allocations: 5.281 kB / 303.3 MB, free: 17.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.859e-06/0.143, allocations: 7.828 kB / 303.3 MB, free: 17.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.143, allocations: 1.438 kB / 303.3 MB, free: 17.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.1431, allocations: 8.688 kB / 303.3 MB, free: 17.13 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.0002306/0.1434, allocations: 121.3 kB / 303.4 MB, free: 17.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.651e-05/0.1434, allocations: 120 kB / 303.5 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1434, allocations: 0 / 303.5 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.842e-05/0.1434, allocations: 90.72 kB / 303.6 MB, free: 16.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.151e-05/0.1435, allocations: 12.23 kB / 303.6 MB, free: 16.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001206/0.1436, allocations: 108.7 kB / 303.7 MB, free: 16.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.729e-05/0.1436, allocations: 54.7 kB / 303.8 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.19e-06/0.1436, allocations: 0 / 303.8 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.1437, allocations: 53 kB / 303.8 MB, free: 16.59 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1437, allocations: 10.89 kB / 303.8 MB, free: 16.59 MB / 282.7 MB Notification: Performance of Templates: time 0.002246/0.1459, allocations: 0.5932 MB / 304.4 MB, free: 16.54 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 -s gbode -gbm=radauIIA3 -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.775651795323938]