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.00128/0.00128, allocations: 181.3 kB / 17.41 MB, free: 4.402 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.507/1.507, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0007553/0.0007552, allocations: 86.42 kB / 271.9 MB, free: 8.242 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.3755/0.3755, allocations: 43.56 MB / 363.8 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004547, allocations: 19.98 kB / 432.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 58.84 MB / 491.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3682/0.511, allocations: 85.59 MB / 0.5635 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.5112, allocations: 71.91 kB / 0.5636 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01743/0.5287, allocations: 6.31 MB / 0.5697 GB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5287, allocations: 3.938 kB / 0.5697 GB, free: 10.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.5287, allocations: 0 / 0.5697 GB, free: 10.33 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.000338/0.5291, allocations: 381.2 kB / 0.5701 GB, free: 9.902 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.5291, allocations: 12.02 kB / 0.5701 GB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.5292, allocations: 0.9375 kB / 0.5701 GB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.5293, allocations: 160.4 kB / 0.5703 GB, free: 9.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.5293, allocations: 4.375 kB / 0.5703 GB, free: 9.691 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.5293, allocations: 4.375 kB / 0.5703 GB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.23e-05/0.5294, allocations: 30.25 kB / 0.5703 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.5294, allocations: 192 / 0.5703 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.5294, allocations: 3.938 kB / 0.5703 GB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5295, allocations: 4 kB / 0.5703 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.873e-05/0.5295, allocations: 4 kB / 0.5703 GB, free: 9.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.5296, allocations: 149.7 kB / 0.5705 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.176e-05/0.5297, allocations: 22.55 kB / 0.5705 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.305e-05/0.5297, allocations: 4.859 kB / 0.5705 GB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-06/0.5297, allocations: 0 / 0.5705 GB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.5298, allocations: 56.27 kB / 0.5705 GB, free: 9.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.5298, allocations: 5.219 kB / 0.5705 GB, free: 9.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001777/0.5299, allocations: 75.33 kB / 0.5706 GB, free: 9.246 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.53, allocations: 77.11 kB / 0.5707 GB, free: 9.152 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.975e-05/0.53, allocations: 94.48 kB / 0.5708 GB, free: 9.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.5301, allocations: 25.7 kB / 0.5708 GB, free: 9.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.5301, allocations: 80.14 kB / 0.5709 GB, free: 8.938 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.5301, allocations: 0.9375 kB / 0.5709 GB, free: 8.938 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.5301, allocations: 0 / 0.5709 GB, free: 8.938 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5303, allocations: 315 kB / 0.5712 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-06/0.5303, allocations: 0 / 0.5712 GB, free: 8.621 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.5303, allocations: 4 kB / 0.5712 GB, free: 8.617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.887e-05/0.5304, allocations: 64.25 kB / 0.5712 GB, free: 8.539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5304, allocations: 7.938 kB / 0.5712 GB, free: 8.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.29e-05/0.5304, allocations: 62.06 kB / 0.5713 GB, free: 8.461 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.5305, allocations: 33.7 kB / 0.5713 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5305, allocations: 0 / 0.5713 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.5305, allocations: 4.031 kB / 0.5713 GB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.5305, allocations: 4 kB / 0.5713 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.5305, allocations: 3.984 kB / 0.5713 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.188e-05/0.5305, allocations: 0 / 0.5713 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.5305, allocations: 0 / 0.5713 GB, free: 8.41 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 8.831e-05/0.5306, allocations: 135.5 kB / 0.5715 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-06/0.5307, allocations: 4 kB / 0.5715 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.289e-05/0.5307, allocations: 7.062 kB / 0.5715 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.5307, allocations: 0 / 0.5715 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5307, allocations: 8 kB / 0.5715 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5307, allocations: 0 / 0.5715 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.994e-05/0.5308, allocations: 145.7 kB / 0.5716 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.5308, allocations: 0 / 0.5716 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.5308, allocations: 0 / 0.5716 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.5308, allocations: 0 / 0.5716 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.5308, allocations: 7.938 kB / 0.5716 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.5308, allocations: 0 / 0.5716 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.5308, allocations: 0 / 0.5716 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.931e-05/0.5309, allocations: 94.77 kB / 0.5717 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.531, allocations: 83.14 kB / 0.5718 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.531, allocations: 3.938 kB / 0.5718 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-06/0.531, allocations: 0 / 0.5718 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.531, allocations: 0 / 0.5718 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.531, allocations: 4 kB / 0.5718 GB, free: 7.824 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.441e-05/0.5311, allocations: 79.28 kB / 0.5719 GB, free: 7.746 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5311, allocations: 0 / 0.5719 GB, free: 7.746 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00021/0.5313, allocations: 8.828 kB / 0.5719 GB, free: 7.738 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.0002459/0.5316, allocations: 125.6 kB / 0.572 GB, free: 7.613 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.978e-05/0.5317, allocations: 59.41 kB / 0.5721 GB, free: 7.543 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.5317, allocations: 0 / 0.5721 GB, free: 7.543 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.046e-05/0.5317, allocations: 63.33 kB / 0.5721 GB, free: 7.469 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.5318, allocations: 3.984 kB / 0.5721 GB, free: 7.465 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001939/0.5321, allocations: 111.3 kB / 0.5722 GB, free: 7.324 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.5323, allocations: 0.6692 MB / 0.5729 GB, free: 6.629 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.023e-05/0.5323, allocations: 7.438 kB / 0.5729 GB, free: 6.625 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5323, allocations: 0 / 0.5729 GB, free: 6.625 MB / 394.7 MB Notification: Performance of Templates: time 0.001658/0.534, allocations: 440 kB / 0.5733 GB, free: 6.199 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