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.002219/0.002223, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001074/0.001074, allocations: 86.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2828/0.2828, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.615e-05, allocations: 8 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 58.86 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5109/0.6327, allocations: 85.46 MB / 0.5562 GB, free: 2.156 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.633, allocations: 68.19 kB / 0.5563 GB, free: 2.125 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02977/0.6628, allocations: 6.355 MB / 0.5625 GB, free: 12.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6628, allocations: 3.938 kB / 0.5625 GB, free: 12.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.6629, allocations: 0 / 0.5625 GB, free: 12.83 MB / 378.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.0003621/0.6632, allocations: 368.1 kB / 0.5629 GB, free: 12.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.6633, allocations: 8.031 kB / 0.5629 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.6634, allocations: 8 kB / 0.5629 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.6635, allocations: 167 kB / 0.563 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.6635, allocations: 0 / 0.563 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.6635, allocations: 0 / 0.563 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.161e-05/0.6636, allocations: 29.7 kB / 0.5631 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.6636, allocations: 0 / 0.5631 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.6636, allocations: 0 / 0.5631 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.6637, allocations: 0 / 0.5631 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.95e-05/0.6637, allocations: 0 / 0.5631 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.6639, allocations: 161.4 kB / 0.5632 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.767e-05/0.6639, allocations: 18.52 kB / 0.5632 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.664, allocations: 4.859 kB / 0.5632 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.664, allocations: 4.094 kB / 0.5633 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/0.664, allocations: 56.27 kB / 0.5633 GB, free: 11.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.6641, allocations: 0 / 0.5633 GB, free: 11.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002004/0.6643, allocations: 67.27 kB / 0.5634 GB, free: 11.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.6644, allocations: 85.08 kB / 0.5635 GB, free: 11.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/0.6644, allocations: 85 kB / 0.5635 GB, free: 11.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.6645, allocations: 25.7 kB / 0.5636 GB, free: 11.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.6646, allocations: 150.6 kB / 0.5637 GB, free: 11.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.6646, allocations: 0 / 0.5637 GB, free: 11.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.6646, allocations: 0 / 0.5637 GB, free: 11.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6648, allocations: 314.8 kB / 0.564 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.6648, allocations: 0 / 0.564 GB, free: 11.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-06/0.6648, allocations: 0 / 0.564 GB, free: 11.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.101e-05/0.6648, allocations: 29.77 kB / 0.564 GB, free: 11.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6649, allocations: 4 kB / 0.564 GB, free: 11.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.662e-05/0.665, allocations: 67.03 kB / 0.5641 GB, free: 10.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/0.665, allocations: 33.7 kB / 0.5641 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.665, allocations: 0 / 0.5641 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.6651, allocations: 0 / 0.5641 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/0.6651, allocations: 0 / 0.5641 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6651, allocations: 0 / 0.5641 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.6651, allocations: 0 / 0.5641 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.6651, allocations: 4.031 kB / 0.5641 GB, free: 10.94 MB / 378.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 () * 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.765e-05/0.6653, allocations: 140.2 kB / 0.5643 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.6653, allocations: 3.953 kB / 0.5643 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.564e-05/0.6653, allocations: 7.062 kB / 0.5643 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.6653, allocations: 3.938 kB / 0.5643 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6653, allocations: 4 kB / 0.5643 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6654, allocations: 0 / 0.5643 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.6655, allocations: 145.6 kB / 0.5644 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6655, allocations: 0 / 0.5644 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-06/0.6655, allocations: 7.984 kB / 0.5644 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.6655, allocations: 3.953 kB / 0.5644 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.6656, allocations: 4 kB / 0.5644 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6656, allocations: 0 / 0.5644 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6656, allocations: 0 / 0.5644 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.6657, allocations: 86.59 kB / 0.5645 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.6658, allocations: 81.09 kB / 0.5646 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.6658, allocations: 3.953 kB / 0.5646 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.501e-05/0.6658, allocations: 8.031 kB / 0.5646 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.6659, allocations: 0 / 0.5646 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.6659, allocations: 11.92 kB / 0.5646 GB, free: 10.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.188e-05/0.6659, allocations: 75.28 kB / 0.5647 GB, free: 10.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6659, allocations: 0 / 0.5647 GB, free: 10.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.6662, allocations: 4 kB / 0.5647 GB, free: 10.26 MB / 378.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) * 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.0003184/0.6665, allocations: 122.8 kB / 0.5648 GB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.353e-05/0.6666, allocations: 59.41 kB / 0.5649 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6666, allocations: 0 / 0.5649 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.86e-05/0.6667, allocations: 59.34 kB / 0.5649 GB, free: 10 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.69e-05/0.6668, allocations: 0 / 0.5649 GB, free: 10 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001843/0.667, allocations: 73.91 kB / 0.565 GB, free: 9.902 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.6673, allocations: 0.677 MB / 0.5657 GB, free: 9.199 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.6673, allocations: 7.438 kB / 0.5657 GB, free: 9.191 MB / 378.7 MB Notification: Performance of SimCode: time 3.045e-06/0.6674, allocations: 128 / 0.5657 GB, free: 9.191 MB / 378.7 MB Notification: Performance of Templates: time 0.002308/0.6697, allocations: 454.3 kB / 0.5661 GB, free: 8.75 MB / 378.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