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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008862/0.0008864, allocations: 97.3 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 175.6 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3318/0.3318, allocations: 43.55 MB / 314.5 MB, free: 8.734 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005181/0.0005183, allocations: 16 kB / 383.9 MB, free: 8.062 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 58.87 MB / 442.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.0006006/0.1132, allocations: 224.4 kB / 443 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.1149, allocations: 1.351 MB / 444.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.1149, allocations: 0 / 444.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.427e-06/0.115, allocations: 4 kB / 444.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.358e-06/0.115, allocations: 0 / 444.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.1154, allocations: 91.64 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.231e-05/0.1154, allocations: 0 / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.1155, allocations: 4 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.37e-05/0.1155, allocations: 0 / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.509e-05/0.1155, allocations: 0 / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.1155, allocations: 0 / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1157, allocations: 31.97 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.1157, allocations: 3.984 kB / 444.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.1158, allocations: 33.7 kB / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.344e-05/0.1158, allocations: 15.97 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.1158, allocations: 4 kB / 444.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1159, allocations: 0 / 444.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1159, allocations: 3.938 kB / 444.5 MB, free: 11.31 MB / 382.1 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.0002872/0.1162, allocations: 345.1 kB / 444.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1162, allocations: 8.031 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.1162, allocations: 3.953 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1163, allocations: 163.1 kB / 445 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1164, allocations: 0 / 445 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.1164, allocations: 4 kB / 445 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.542e-05/0.1165, allocations: 33.64 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1165, allocations: 0 / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.1165, allocations: 3.984 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1165, allocations: 4 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.664e-05/0.1165, allocations: 3.953 kB / 445.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.1167, allocations: 153.7 kB / 445.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.978e-05/0.1167, allocations: 22.55 kB / 445.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-06/0.1167, allocations: 0 / 445.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.1168, allocations: 64.27 kB / 445.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1168, allocations: 3.938 kB / 445.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001605/0.117, allocations: 67.36 kB / 445.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.117, allocations: 85.05 kB / 445.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.525e-05/0.1171, allocations: 89.86 kB / 445.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1171, allocations: 25.7 kB / 445.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.1171, allocations: 84.14 kB / 445.6 MB, free: 9.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.1171, allocations: 4.125 kB / 445.6 MB, free: 9.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.1171, allocations: 0 / 445.6 MB, free: 9.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1173, allocations: 314.8 kB / 446 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-06/0.1173, allocations: 0 / 446 MB, free: 9.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-06/0.1173, allocations: 0 / 446 MB, free: 9.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.012e-05/0.1173, allocations: 29.7 kB / 446 MB, free: 9.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1173, allocations: 0 / 446 MB, free: 9.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.994e-05/0.1174, allocations: 67.39 kB / 446.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.1174, allocations: 29.7 kB / 446.1 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1174, allocations: 4.094 kB / 446.1 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1175, allocations: 0 / 446.1 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.1175, allocations: 0 / 446.1 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1175, allocations: 0 / 446.1 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.1175, allocations: 4 kB / 446.1 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1175, allocations: 3.938 kB / 446.1 MB, free: 9.465 MB / 382.1 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 9.03e-05/0.1176, allocations: 143.5 kB / 446.2 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-06/0.1176, allocations: 4 kB / 446.2 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.578e-06/0.1176, allocations: 3.125 kB / 446.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.1176, allocations: 4 kB / 446.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1176, allocations: 0 / 446.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1177, allocations: 0 / 446.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.316e-05/0.1178, allocations: 153.6 kB / 446.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1178, allocations: 4 kB / 446.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1178, allocations: 0 / 446.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1178, allocations: 0 / 446.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1178, allocations: 4 kB / 446.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1178, allocations: 0 / 446.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1178, allocations: 0 / 446.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.333e-05/0.1179, allocations: 98.78 kB / 446.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.1179, allocations: 77.11 kB / 446.6 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.118, allocations: 0 / 446.6 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-06/0.118, allocations: 4 kB / 446.6 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.118, allocations: 3.938 kB / 446.6 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.118, allocations: 0 / 446.6 MB, free: 8.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.33e-05/0.118, allocations: 75.28 kB / 446.7 MB, free: 8.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.118, allocations: 4.031 kB / 446.7 MB, free: 8.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002043/0.1182, allocations: 19.94 kB / 446.7 MB, free: 8.77 MB / 382.1 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.0002766/0.1185, allocations: 135.2 kB / 446.8 MB, free: 8.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.184e-05/0.1186, allocations: 59.39 kB / 446.9 MB, free: 8.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1186, allocations: 4 kB / 446.9 MB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.87e-05/0.1187, allocations: 51.41 kB / 446.9 MB, free: 8.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.337e-05/0.1188, allocations: 12.08 kB / 446.9 MB, free: 8.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001568/0.1189, allocations: 82.64 kB / 447 MB, free: 8.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1192, allocations: 0.677 MB / 447.7 MB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.38e-06/0.1192, allocations: 0 / 447.7 MB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.066e-05/0.1192, allocations: 7.438 kB / 447.7 MB, free: 7.668 MB / 382.1 MB Notification: Performance of SimCode: time 2.615e-06/0.1192, allocations: 0 / 447.7 MB, free: 7.668 MB / 382.1 MB Notification: Performance of Templates: time 0.002742/0.1219, allocations: 0.6089 MB / 448.3 MB, free: 7.059 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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