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.001113/0.001113, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000955/0.0009554, allocations: 86.64 kB / 261.8 MB, free: 1.68 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.2185/0.2185, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.653e-05/1.655e-05, allocations: 0 / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1218, allocations: 58.86 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4402/0.562, allocations: 84.8 MB / 0.5487 GB, free: 9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.5622, allocations: 65.56 kB / 0.5488 GB, free: 9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01552/0.5778, allocations: 6.327 MB / 0.555 GB, free: 4.773 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5778, allocations: 0 / 0.555 GB, free: 4.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.5778, allocations: 0 / 0.555 GB, free: 4.773 MB / 362.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.0002598/0.5781, allocations: 368.6 kB / 0.5553 GB, free: 4.367 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.5782, allocations: 8.031 kB / 0.5553 GB, free: 4.359 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.5782, allocations: 7.922 kB / 0.5553 GB, free: 4.352 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.634e-05/0.5783, allocations: 163 kB / 0.5555 GB, free: 4.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.5783, allocations: 0 / 0.5555 GB, free: 4.152 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.5783, allocations: 4 kB / 0.5555 GB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.787e-05/0.5784, allocations: 3.938 kB / 0.5555 GB, free: 4.145 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.287e-05/0.5784, allocations: 25.7 kB / 0.5555 GB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5784, allocations: 0 / 0.5555 GB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.5785, allocations: 3.938 kB / 0.5555 GB, free: 4.109 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.5785, allocations: 8 kB / 0.5555 GB, free: 4.102 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.5786, allocations: 133.8 kB / 0.5557 GB, free: 3.938 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.9e-05/0.5786, allocations: 14.58 kB / 0.5557 GB, free: 3.914 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.5786, allocations: 4.859 kB / 0.5557 GB, free: 3.906 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.5787, allocations: 4.094 kB / 0.5557 GB, free: 3.902 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.5787, allocations: 56.27 kB / 0.5557 GB, free: 3.832 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.5787, allocations: 4 kB / 0.5557 GB, free: 3.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002131/0.5789, allocations: 37.39 kB / 0.5558 GB, free: 3.789 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.579, allocations: 85.09 kB / 0.5559 GB, free: 3.688 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.95e-05/0.579, allocations: 85 kB / 0.5559 GB, free: 3.598 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.579, allocations: 25.7 kB / 0.556 GB, free: 3.566 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.372e-05/0.579, allocations: 80.14 kB / 0.556 GB, free: 3.484 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.5791, allocations: 0 / 0.556 GB, free: 3.484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.5791, allocations: 0 / 0.556 GB, free: 3.484 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.595e-05/0.5791, allocations: 310.8 kB / 0.5563 GB, free: 3.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-06/0.5791, allocations: 8.031 kB / 0.5564 GB, free: 3.164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.5792, allocations: 0 / 0.5564 GB, free: 3.164 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.5792, allocations: 0 / 0.5564 GB, free: 3.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5792, allocations: 0 / 0.5564 GB, free: 3.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.516e-05/0.5793, allocations: 44.89 kB / 0.5564 GB, free: 3.117 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.5793, allocations: 29.7 kB / 0.5564 GB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.5793, allocations: 3.938 kB / 0.5564 GB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5793, allocations: 0 / 0.5564 GB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.977e-06/0.5794, allocations: 8 kB / 0.5564 GB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.5794, allocations: 4.094 kB / 0.5564 GB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.215e-05/0.5794, allocations: 0 / 0.5564 GB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.5794, allocations: 0 / 0.5564 GB, free: 3.066 MB / 362.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 5.743e-05/0.5795, allocations: 130.7 kB / 0.5566 GB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-06/0.5795, allocations: 7.891 kB / 0.5566 GB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.291e-05/0.5795, allocations: 3.75 kB / 0.5566 GB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5795, allocations: 3.984 kB / 0.5566 GB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5795, allocations: 0 / 0.5566 GB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.5795, allocations: 0 / 0.5566 GB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.744e-05/0.5796, allocations: 130 kB / 0.5567 GB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5796, allocations: 4 kB / 0.5567 GB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.5796, allocations: 0 / 0.5567 GB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5796, allocations: 0 / 0.5567 GB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.5796, allocations: 0 / 0.5567 GB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5796, allocations: 3.953 kB / 0.5567 GB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5796, allocations: 0.7031 kB / 0.5567 GB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.317e-05/0.5797, allocations: 64.62 kB / 0.5568 GB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.5798, allocations: 85.08 kB / 0.5569 GB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.5798, allocations: 3.938 kB / 0.5569 GB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-06/0.5798, allocations: 0 / 0.5569 GB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.5798, allocations: 11.44 kB / 0.5569 GB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.5798, allocations: 4 kB / 0.5569 GB, free: 2.547 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.76e-05/0.5798, allocations: 75.28 kB / 0.5569 GB, free: 2.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5798, allocations: 0 / 0.5569 GB, free: 2.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002043/0.58, allocations: 4 kB / 0.5569 GB, free: 2.469 MB / 362.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.0002522/0.5803, allocations: 112.8 kB / 0.5571 GB, free: 2.348 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.677e-05/0.5804, allocations: 55.41 kB / 0.5571 GB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5804, allocations: 0 / 0.5571 GB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.69e-05/0.5804, allocations: 59.39 kB / 0.5572 GB, free: 2.211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.651e-05/0.5805, allocations: 7.422 kB / 0.5572 GB, free: 2.207 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000143/0.5807, allocations: 43.27 kB / 0.5572 GB, free: 2.145 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.5808, allocations: 0.6847 MB / 0.5579 GB, free: 1.434 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.773e-06/0.5808, allocations: 3.938 kB / 0.5579 GB, free: 1.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.357e-06/0.5808, allocations: 11.38 kB / 0.5579 GB, free: 1.418 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5808, allocations: 0 / 0.5579 GB, free: 1.418 MB / 362.7 MB Notification: Performance of Templates: time 0.002172/0.583, allocations: 280.3 kB / 0.5582 GB, free: 1.16 MB / 362.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