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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 96.97 kB / 20.21 MB, free: 4.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2005/0.2005, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.982e-05, allocations: 6.312 kB / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001482/0.001512, allocations: 0.5081 MB / 347.4 MB, free: 9.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.003246, allocations: 1.405 MB / 348.8 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.003274, allocations: 0 / 348.8 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.003288, allocations: 0 / 348.8 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.003293, allocations: 0 / 348.8 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.003761, allocations: 111.4 kB / 348.9 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.549e-05/0.003816, allocations: 3.984 kB / 348.9 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.003862, allocations: 4 kB / 348.9 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.259e-05/0.003895, allocations: 0 / 348.9 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.445e-05/0.003929, allocations: 7.984 kB / 349 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.003939, allocations: 0 / 349 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.004261, allocations: 67.88 kB / 349 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-06/0.00427, allocations: 0 / 349 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.004288, allocations: 0 / 349 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.004403, allocations: 27.95 kB / 349 MB, free: 7.672 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.004406, allocations: 4 kB / 349.1 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004407, allocations: 4 kB / 349.1 MB, free: 7.664 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.004412, allocations: 0 / 349.1 MB, free: 7.664 MB / 282.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.0002798/0.004692, allocations: 370.1 kB / 349.4 MB, free: 7.262 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.004729, allocations: 8.031 kB / 349.4 MB, free: 7.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.00477, allocations: 0.9375 kB / 349.4 MB, free: 7.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.333e-05/0.004823, allocations: 112.6 kB / 349.5 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.004836, allocations: 384 / 349.5 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.004843, allocations: 4.312 kB / 349.5 MB, free: 7.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.95e-05/0.004932, allocations: 59.91 kB / 349.6 MB, free: 7.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.004942, allocations: 192 / 349.6 MB, free: 7.043 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.00495, allocations: 4.375 kB / 349.6 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.004956, allocations: 3.938 kB / 349.6 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/0.004978, allocations: 29.7 kB / 349.6 MB, free: 7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.275e-05/0.005071, allocations: 116.6 kB / 349.8 MB, free: 6.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.398e-05/0.005125, allocations: 52.8 kB / 349.8 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.005141, allocations: 37.33 kB / 349.8 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.005151, allocations: 0 / 349.8 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.005182, allocations: 67.16 kB / 349.9 MB, free: 6.652 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.005183, allocations: 0 / 349.9 MB, free: 6.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001792/0.005362, allocations: 114.8 kB / 350 MB, free: 6.516 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.005394, allocations: 85.17 kB / 350.1 MB, free: 6.414 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.136e-05/0.005426, allocations: 142.2 kB / 350.2 MB, free: 6.262 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-06/0.005432, allocations: 25.7 kB / 350.3 MB, free: 6.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.85e-05/0.00545, allocations: 130.9 kB / 350.4 MB, free: 6.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.005469, allocations: 4 kB / 350.4 MB, free: 6.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.005492, allocations: 15.38 kB / 350.4 MB, free: 6.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.005553, allocations: 496.1 kB / 350.9 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.005569, allocations: 33.62 kB / 350.9 MB, free: 5.535 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.022e-05/0.005579, allocations: 25.7 kB / 351 MB, free: 5.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.479e-05/0.005614, allocations: 71.16 kB / 351 MB, free: 5.418 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.005615, allocations: 0 / 351 MB, free: 5.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.274e-05/0.005668, allocations: 89.09 kB / 351.1 MB, free: 5.312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.005694, allocations: 33.7 kB / 351.1 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.005699, allocations: 0 / 351.1 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.005714, allocations: 0 / 351.1 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.005715, allocations: 0 / 351.1 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.00572, allocations: 3.938 kB / 351.1 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.337e-05/0.005734, allocations: 3.953 kB / 351.2 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.00574, allocations: 4 kB / 351.2 MB, free: 5.262 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.005795, allocations: 190.2 kB / 351.3 MB, free: 5.059 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-06/0.005803, allocations: 4 kB / 351.3 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.013e-05/0.005813, allocations: 6.984 kB / 351.4 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.61e-07/0.005814, allocations: 0 / 351.4 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.005817, allocations: 0 / 351.4 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.00582, allocations: 11.86 kB / 351.4 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.234e-05/0.005863, allocations: 104.6 kB / 351.5 MB, free: 4.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.005863, allocations: 4 kB / 351.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.005864, allocations: 0 / 351.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005865, allocations: 0 / 351.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.005872, allocations: 0 / 351.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.005873, allocations: 4 kB / 351.5 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005873, allocations: 0 / 351.5 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.861e-05/0.005962, allocations: 135.8 kB / 351.6 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-06/0.005966, allocations: 0 / 351.6 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.005978, allocations: 0 / 351.6 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-06/0.005987, allocations: 3.984 kB / 351.6 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.006003, allocations: 7.938 kB / 351.6 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.006006, allocations: 4 kB / 351.6 MB, free: 4.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.233e-05/0.006028, allocations: 123.1 kB / 351.7 MB, free: 4.586 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006028, allocations: 0 / 351.7 MB, free: 4.586 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.006232, allocations: 8.031 kB / 351.7 MB, free: 4.578 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003199/0.006552, allocations: 143.1 kB / 351.9 MB, free: 4.438 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.006656, allocations: 118.5 kB / 352 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.006657, allocations: 0 / 352 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/0.006682, allocations: 88.8 kB / 352.1 MB, free: 4.184 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.006802, allocations: 4 kB / 352.1 MB, free: 4.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001785/0.00698, allocations: 117.8 kB / 352.2 MB, free: 4.031 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.601e-05/0.007006, allocations: 59.36 kB / 352.3 MB, free: 3.953 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.839e-06/0.007011, allocations: 0 / 352.3 MB, free: 3.953 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.908e-06/0.007021, allocations: 12.44 kB / 352.3 MB, free: 3.941 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.007022, allocations: 0 / 352.3 MB, free: 3.941 MB / 282.7 MB Notification: Performance of Templates: time 0.003149/0.01017, allocations: 0.556 MB / 352.8 MB, free: 3.391 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) [Timeout 240] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.801874342025258]