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/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_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001505, allocations: 175.3 kB / 16.76 MB, free: 4.93 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.463/1.463, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0008198/0.0008198, allocations: 86.3 kB / 271.3 MB, free: 8.238 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.3905/0.3905, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003951, allocations: 12 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1355, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.377/0.5125, allocations: 85.59 MB / 0.5635 GB, free: 400 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.5129, allocations: 63.98 kB / 0.5636 GB, free: 336 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01782/0.5307, allocations: 6.322 MB / 0.5698 GB, free: 10.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5307, allocations: 0 / 0.5698 GB, free: 10.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.5308, allocations: 0 / 0.5698 GB, free: 10.04 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.0003043/0.5311, allocations: 373.2 kB / 0.5701 GB, free: 9.613 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.5311, allocations: 12.03 kB / 0.5701 GB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.5312, allocations: 0.9375 kB / 0.5701 GB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.907e-05/0.5313, allocations: 168.4 kB / 0.5703 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.5313, allocations: 384 / 0.5703 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.5313, allocations: 384 / 0.5703 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.178e-05/0.5314, allocations: 30.27 kB / 0.5703 GB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.5314, allocations: 192 / 0.5703 GB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.5314, allocations: 3.938 kB / 0.5703 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5314, allocations: 0.875 kB / 0.5703 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.5314, allocations: 7.938 kB / 0.5703 GB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.5316, allocations: 149.7 kB / 0.5705 GB, free: 9.156 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.622e-05/0.5316, allocations: 23.41 kB / 0.5705 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.542e-05/0.5317, allocations: 8.953 kB / 0.5705 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.5317, allocations: 0 / 0.5705 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.5317, allocations: 56.27 kB / 0.5706 GB, free: 9.043 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/0.5317, allocations: 0 / 0.5706 GB, free: 9.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001613/0.5319, allocations: 75.27 kB / 0.5706 GB, free: 8.957 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.5319, allocations: 77.23 kB / 0.5707 GB, free: 8.863 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.822e-05/0.532, allocations: 94.48 kB / 0.5708 GB, free: 8.762 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.532, allocations: 25.7 kB / 0.5708 GB, free: 8.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.532, allocations: 87.23 kB / 0.5709 GB, free: 8.645 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.5321, allocations: 0.9375 kB / 0.5709 GB, free: 8.645 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-06/0.5321, allocations: 0 / 0.5709 GB, free: 8.645 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5322, allocations: 310.8 kB / 0.5712 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-06/0.5322, allocations: 0 / 0.5712 GB, free: 8.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-06/0.5322, allocations: 0 / 0.5712 GB, free: 8.332 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.5322, allocations: 68.33 kB / 0.5713 GB, free: 8.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5323, allocations: 0 / 0.5713 GB, free: 8.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.181e-05/0.5323, allocations: 67.33 kB / 0.5713 GB, free: 8.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.5324, allocations: 29.7 kB / 0.5714 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5324, allocations: 4 kB / 0.5714 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5324, allocations: 7.875 kB / 0.5714 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-06/0.5324, allocations: 4 kB / 0.5714 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5324, allocations: 0 / 0.5714 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.5324, allocations: 0 / 0.5714 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.5324, allocations: 4.031 kB / 0.5714 GB, free: 8.117 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 7.702e-05/0.5325, allocations: 139.5 kB / 0.5715 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.5325, allocations: 4 kB / 0.5715 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.252e-05/0.5325, allocations: 7.062 kB / 0.5715 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.5326, allocations: 0 / 0.5715 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5326, allocations: 0 / 0.5715 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.5326, allocations: 0 / 0.5715 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.285e-05/0.5327, allocations: 149.7 kB / 0.5717 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.5327, allocations: 0 / 0.5717 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-07/0.5327, allocations: 0 / 0.5717 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.5327, allocations: 4 kB / 0.5717 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.5327, allocations: 3.938 kB / 0.5717 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5327, allocations: 0 / 0.5717 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5327, allocations: 4 kB / 0.5717 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.574e-05/0.5328, allocations: 90.77 kB / 0.5718 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.5328, allocations: 79.14 kB / 0.5718 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.5329, allocations: 7.938 kB / 0.5718 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-06/0.5329, allocations: 4.031 kB / 0.5718 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.5329, allocations: 1.219 kB / 0.5718 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.5329, allocations: 0 / 0.5718 GB, free: 7.531 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.605e-05/0.5329, allocations: 75.28 kB / 0.5719 GB, free: 7.457 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5329, allocations: 0 / 0.5719 GB, free: 7.457 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.5331, allocations: 8 kB / 0.5719 GB, free: 7.449 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.0002584/0.5334, allocations: 123.3 kB / 0.572 GB, free: 7.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.181e-05/0.5335, allocations: 63.41 kB / 0.5721 GB, free: 7.254 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5335, allocations: 0 / 0.5721 GB, free: 7.254 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.5335, allocations: 59.34 kB / 0.5722 GB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.5337, allocations: 5.734 kB / 0.5722 GB, free: 7.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001649/0.5338, allocations: 77.45 kB / 0.5722 GB, free: 7.078 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.534, allocations: 0.6692 MB / 0.5729 GB, free: 6.383 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.673e-06/0.534, allocations: 3.984 kB / 0.5729 GB, free: 6.379 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.428e-06/0.5341, allocations: 7.562 kB / 0.5729 GB, free: 6.371 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5341, allocations: 4 kB / 0.5729 GB, free: 6.367 MB / 394.7 MB Notification: Performance of Templates: time 0.002028/0.5361, allocations: 303 kB / 0.5732 GB, free: 6.082 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Math.TestScalarFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches