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.001242/0.001242, allocations: 183.8 kB / 15.76 MB, free: 6.367 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.691/1.691, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009728/0.0009728, allocations: 102.8 kB / 270.2 MB, free: 13.36 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.2367/0.2367, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1378, allocations: 58.87 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4644/0.6023, allocations: 85.56 MB / 0.5623 GB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.6026, allocations: 63.53 kB / 0.5624 GB, free: 14.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01766/0.6202, allocations: 6.363 MB / 0.5686 GB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6203, allocations: 0 / 0.5686 GB, free: 8.887 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.6203, allocations: 0 / 0.5686 GB, free: 8.887 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.000316/0.6206, allocations: 372.4 kB / 0.5689 GB, free: 8.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.6207, allocations: 8.031 kB / 0.5689 GB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.6207, allocations: 4 kB / 0.5689 GB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.635e-05/0.6208, allocations: 163 kB / 0.5691 GB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.6208, allocations: 0 / 0.5691 GB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.6208, allocations: 7.984 kB / 0.5691 GB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.57e-05/0.6209, allocations: 29.69 kB / 0.5691 GB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.6209, allocations: 0 / 0.5691 GB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.6209, allocations: 0 / 0.5691 GB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.621, allocations: 7.938 kB / 0.5691 GB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.583e-05/0.621, allocations: 0 / 0.5691 GB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.6211, allocations: 149.6 kB / 0.5693 GB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.083e-05/0.6212, allocations: 22.17 kB / 0.5693 GB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-06/0.6212, allocations: 0 / 0.5693 GB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.6212, allocations: 60.25 kB / 0.5694 GB, free: 7.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.6212, allocations: 0 / 0.5694 GB, free: 7.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001646/0.6214, allocations: 63.41 kB / 0.5694 GB, free: 7.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.6215, allocations: 80.67 kB / 0.5695 GB, free: 7.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.091e-05/0.6215, allocations: 89.12 kB / 0.5696 GB, free: 7.652 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.6215, allocations: 25.7 kB / 0.5696 GB, free: 7.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.6216, allocations: 84.14 kB / 0.5697 GB, free: 7.535 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.6216, allocations: 3.984 kB / 0.5697 GB, free: 7.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.6216, allocations: 0 / 0.5697 GB, free: 7.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.6217, allocations: 314.8 kB / 0.57 GB, free: 7.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-06/0.6217, allocations: 3.938 kB / 0.57 GB, free: 7.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.6217, allocations: 0 / 0.57 GB, free: 7.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.468e-05/0.6218, allocations: 33.77 kB / 0.57 GB, free: 7.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6218, allocations: 0 / 0.57 GB, free: 7.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.58e-05/0.6218, allocations: 78.67 kB / 0.5701 GB, free: 7.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.6219, allocations: 29.7 kB / 0.5701 GB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.6219, allocations: 0 / 0.5701 GB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.6219, allocations: 3.984 kB / 0.5701 GB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.6219, allocations: 0 / 0.5701 GB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.6219, allocations: 0 / 0.5701 GB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.234e-05/0.6219, allocations: 4 kB / 0.5701 GB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.6219, allocations: 0 / 0.5701 GB, free: 7.043 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 () * 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.232e-05/0.622, allocations: 139.6 kB / 0.5703 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.622, allocations: 7.953 kB / 0.5703 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.178e-05/0.6221, allocations: 3.125 kB / 0.5703 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.6221, allocations: 0 / 0.5703 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6221, allocations: 0 / 0.5703 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6221, allocations: 0 / 0.5703 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.076e-05/0.6222, allocations: 149.4 kB / 0.5704 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6222, allocations: 4 kB / 0.5704 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.6222, allocations: 0 / 0.5704 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.6222, allocations: 3.953 kB / 0.5704 GB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.6222, allocations: 4 kB / 0.5704 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.6222, allocations: 0 / 0.5704 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.6222, allocations: 0 / 0.5704 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.607e-05/0.6223, allocations: 94.27 kB / 0.5705 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.6223, allocations: 77.11 kB / 0.5706 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.6224, allocations: 3.953 kB / 0.5706 GB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-06/0.6224, allocations: 0 / 0.5706 GB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.6224, allocations: 8.031 kB / 0.5706 GB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.6224, allocations: 0 / 0.5706 GB, free: 6.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.859e-05/0.6224, allocations: 75.28 kB / 0.5707 GB, free: 6.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6225, allocations: 0 / 0.5707 GB, free: 6.379 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001956/0.6227, allocations: 7.984 kB / 0.5707 GB, free: 6.371 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) * 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.0002517/0.6229, allocations: 117.5 kB / 0.5708 GB, free: 6.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.401e-05/0.623, allocations: 62.78 kB / 0.5709 GB, free: 6.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.623, allocations: 3.938 kB / 0.5709 GB, free: 6.176 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.6231, allocations: 63.33 kB / 0.5709 GB, free: 6.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.886e-05/0.6231, allocations: 4 kB / 0.5709 GB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001542/0.6233, allocations: 70.2 kB / 0.571 GB, free: 6.004 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.6235, allocations: 0.677 MB / 0.5717 GB, free: 5.301 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.392e-06/0.6235, allocations: 0 / 0.5717 GB, free: 5.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-06/0.6236, allocations: 7.438 kB / 0.5717 GB, free: 5.293 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6236, allocations: 128 / 0.5717 GB, free: 5.293 MB / 378.7 MB Notification: Performance of Templates: time 0.002067/0.6256, allocations: 293 kB / 0.5719 GB, free: 5.02 MB / 378.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