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.000907/0.0009071, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.319/1.319, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007457/0.0007459, allocations: 93.36 kB / 267 MB, free: 9.277 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.3998/0.3998, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.192e-05, allocations: 4 kB / 425.3 MB, free: 8.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1363, allocations: 58.85 MB / 484.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3951/0.5314, allocations: 85.47 MB / 0.5563 GB, free: 18.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.5317, allocations: 64.23 kB / 0.5563 GB, free: 18.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0161/0.5478, allocations: 6.356 MB / 0.5625 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5478, allocations: 0 / 0.5625 GB, free: 14.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.5479, allocations: 0 / 0.5625 GB, free: 14.32 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.0002358/0.5481, allocations: 365.6 kB / 0.5629 GB, free: 13.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.5482, allocations: 8.031 kB / 0.5629 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.5482, allocations: 7.438 kB / 0.5629 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.114e-05/0.5483, allocations: 164.1 kB / 0.5631 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.5483, allocations: 0 / 0.5631 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.5483, allocations: 0 / 0.5631 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.072e-05/0.5484, allocations: 34.83 kB / 0.5631 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.5484, allocations: 0 / 0.5631 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.5484, allocations: 0 / 0.5631 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5484, allocations: 1.375 kB / 0.5631 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.5485, allocations: 1.547 kB / 0.5631 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.5486, allocations: 153.2 kB / 0.5632 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.469e-05/0.5486, allocations: 20.06 kB / 0.5633 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.5486, allocations: 8.844 kB / 0.5633 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.5486, allocations: 8.094 kB / 0.5633 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.5487, allocations: 56.83 kB / 0.5633 GB, free: 13.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5487, allocations: 0 / 0.5633 GB, free: 13.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001504/0.5488, allocations: 65.81 kB / 0.5634 GB, free: 13.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.5489, allocations: 77.11 kB / 0.5635 GB, free: 13.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.486e-05/0.5489, allocations: 86.25 kB / 0.5635 GB, free: 13.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.5489, allocations: 25.7 kB / 0.5636 GB, free: 13.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.429e-05/0.549, allocations: 84.17 kB / 0.5637 GB, free: 12.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.549, allocations: 0 / 0.5637 GB, free: 12.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.549, allocations: 0 / 0.5637 GB, free: 12.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.549, allocations: 316.4 kB / 0.564 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-06/0.5491, allocations: 3.938 kB / 0.564 GB, free: 12.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-06/0.5491, allocations: 0 / 0.564 GB, free: 12.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.072e-05/0.5491, allocations: 27.34 kB / 0.564 GB, free: 12.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5491, allocations: 4 kB / 0.564 GB, free: 12.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.84e-05/0.5491, allocations: 64.52 kB / 0.564 GB, free: 12.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5492, allocations: 37.7 kB / 0.5641 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5492, allocations: 0 / 0.5641 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.5492, allocations: 0 / 0.5641 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/0.5492, allocations: 3.875 kB / 0.5641 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5492, allocations: 1.641 kB / 0.5641 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.5492, allocations: 3.938 kB / 0.5641 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.5493, allocations: 0 / 0.5641 GB, free: 12.52 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 () * 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 4.867e-05/0.5493, allocations: 131.6 kB / 0.5642 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.5493, allocations: 6.125 kB / 0.5642 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.093e-05/0.5493, allocations: 7.125 kB / 0.5642 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/0.5493, allocations: 0 / 0.5642 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5494, allocations: 4 kB / 0.5642 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5494, allocations: 3.938 kB / 0.5642 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.514e-05/0.5494, allocations: 148.3 kB / 0.5644 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5494, allocations: 0.875 kB / 0.5644 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.5494, allocations: 0 / 0.5644 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5494, allocations: 3.953 kB / 0.5644 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.5494, allocations: 4 kB / 0.5644 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.5495, allocations: 0 / 0.5644 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5495, allocations: 9.484 kB / 0.5644 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.558e-05/0.5495, allocations: 88.12 kB / 0.5645 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.5496, allocations: 78.56 kB / 0.5646 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.5496, allocations: 3.953 kB / 0.5646 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-06/0.5496, allocations: 0 / 0.5646 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.5496, allocations: 1.266 kB / 0.5646 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.5496, allocations: 4 kB / 0.5646 GB, free: 11.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.502e-05/0.5496, allocations: 79.31 kB / 0.5646 GB, free: 11.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5496, allocations: 0 / 0.5646 GB, free: 11.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000173/0.5498, allocations: 4 kB / 0.5646 GB, free: 11.87 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) * 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.0002296/0.5501, allocations: 120.2 kB / 0.5648 GB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.135e-05/0.5501, allocations: 58.91 kB / 0.5648 GB, free: 11.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5501, allocations: 0 / 0.5648 GB, free: 11.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.426e-05/0.5502, allocations: 62.52 kB / 0.5649 GB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.306e-05/0.5503, allocations: 2.844 kB / 0.5649 GB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001223/0.5504, allocations: 50.69 kB / 0.5649 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.5505, allocations: 0.671 MB / 0.5656 GB, free: 10.85 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.159e-06/0.5505, allocations: 0 / 0.5656 GB, free: 10.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.728e-06/0.5505, allocations: 7.438 kB / 0.5656 GB, free: 10.84 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5505, allocations: 4 kB / 0.5656 GB, free: 10.84 MB / 394.7 MB Notification: Performance of Templates: time 0.0021/0.5526, allocations: 298.2 kB / 0.5659 GB, free: 10.66 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/jenkins/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