Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001426, allocations: 186.6 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 96.36 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5046/0.5046, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.0004891, allocations: 12 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.133, allocations: 58.84 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4626/0.5957, allocations: 85.56 MB / 0.5623 GB, free: 1.188 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.5959, allocations: 63.97 kB / 0.5623 GB, free: 1.125 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02956/0.6255, allocations: 6.361 MB / 0.5685 GB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6256, allocations: 0 / 0.5685 GB, free: 10.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.6256, allocations: 0 / 0.5685 GB, free: 10.79 MB / 394.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.0003397/0.6259, allocations: 369 kB / 0.5689 GB, free: 10.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.626, allocations: 8.031 kB / 0.5689 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.626, allocations: 4.75 kB / 0.5689 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.949e-05/0.6261, allocations: 166.5 kB / 0.5691 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.6262, allocations: 4 kB / 0.5691 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.6262, allocations: 0 / 0.5691 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.637e-05/0.6263, allocations: 37.62 kB / 0.5691 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.6263, allocations: 0 / 0.5691 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.6263, allocations: 3.984 kB / 0.5691 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.6263, allocations: 0 / 0.5691 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.172e-05/0.6264, allocations: 4.969 kB / 0.5691 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.6265, allocations: 153.6 kB / 0.5693 GB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.161e-05/0.6266, allocations: 18.58 kB / 0.5693 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.6266, allocations: 0 / 0.5693 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.6266, allocations: 64.28 kB / 0.5693 GB, free: 9.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/0.6267, allocations: 4 kB / 0.5693 GB, free: 9.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001772/0.6268, allocations: 59.41 kB / 0.5694 GB, free: 9.727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.6269, allocations: 81.11 kB / 0.5695 GB, free: 9.629 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.858e-05/0.627, allocations: 85.75 kB / 0.5696 GB, free: 9.539 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.627, allocations: 29.7 kB / 0.5696 GB, free: 9.504 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.627, allocations: 150.6 kB / 0.5697 GB, free: 9.355 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.6271, allocations: 0.9375 kB / 0.5697 GB, free: 9.355 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.6271, allocations: 0 / 0.5697 GB, free: 9.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6272, allocations: 318.8 kB / 0.57 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.6272, allocations: 4 kB / 0.57 GB, free: 9.031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-06/0.6273, allocations: 0 / 0.57 GB, free: 9.031 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/0.6273, allocations: 29.64 kB / 0.5701 GB, free: 8.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6273, allocations: 4.062 kB / 0.5701 GB, free: 8.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.631e-05/0.6274, allocations: 67.36 kB / 0.5701 GB, free: 8.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.6275, allocations: 33.69 kB / 0.5702 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6275, allocations: 4 kB / 0.5702 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.6275, allocations: 0 / 0.5702 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.452e-06/0.6275, allocations: 0 / 0.5702 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6275, allocations: 0.625 kB / 0.5702 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.566e-05/0.6275, allocations: 0 / 0.5702 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.6276, allocations: 0 / 0.5702 GB, free: 8.871 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.615e-05/0.6277, allocations: 147.5 kB / 0.5703 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.6277, allocations: 3.953 kB / 0.5703 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.213e-05/0.6277, allocations: 3.125 kB / 0.5703 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6277, allocations: 0 / 0.5703 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6277, allocations: 0 / 0.5703 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.6277, allocations: 0 / 0.5703 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.736e-05/0.6278, allocations: 153.7 kB / 0.5705 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6279, allocations: 0 / 0.5705 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-07/0.6279, allocations: 0 / 0.5705 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.6279, allocations: 3.953 kB / 0.5705 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.6279, allocations: 4 kB / 0.5705 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6279, allocations: 3.938 kB / 0.5705 GB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6279, allocations: 4 kB / 0.5705 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.628, allocations: 86.83 kB / 0.5706 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.6281, allocations: 79.14 kB / 0.5706 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.6281, allocations: 7.953 kB / 0.5706 GB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.6281, allocations: 3.938 kB / 0.5706 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.6282, allocations: 4.031 kB / 0.5707 GB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.6282, allocations: 3.984 kB / 0.5707 GB, free: 8.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.814e-05/0.6282, allocations: 75.28 kB / 0.5707 GB, free: 8.195 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6282, allocations: 0 / 0.5707 GB, free: 8.195 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002351/0.6285, allocations: 8 kB / 0.5707 GB, free: 8.188 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002962/0.6288, allocations: 123.8 kB / 0.5709 GB, free: 8.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.6289, allocations: 67.33 kB / 0.5709 GB, free: 7.992 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6289, allocations: 0 / 0.5709 GB, free: 7.992 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.629, allocations: 59.41 kB / 0.571 GB, free: 7.922 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.521e-05/0.6291, allocations: 0 / 0.571 GB, free: 7.922 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001868/0.6293, allocations: 99.22 kB / 0.5711 GB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.6295, allocations: 0.6731 MB / 0.5717 GB, free: 7.094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.233e-05/0.6295, allocations: 7.438 kB / 0.5717 GB, free: 7.086 MB / 394.7 MB Notification: Performance of SimCode: time 5.92e-07/0.6295, allocations: 0 / 0.5717 GB, free: 7.086 MB / 394.7 MB Notification: Performance of Templates: time 0.002103/0.6317, allocations: 452.6 kB / 0.5722 GB, free: 6.648 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches