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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 109.7 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002286/0.002286, allocations: 186 kB / 21.49 MB, free: 0.8242 MB / 14.72 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.657/1.657, allocations: 207.6 MB / 232.1 MB, free: 3.184 MB / 174.1 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.3812/0.3812, allocations: 44.23 MB / 328.4 MB, free: 6.301 MB / 254.1 MB " [Timeout remaining time 179] 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=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: 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.002237/0.002237, allocations: 73.86 kB / 465.5 MB, free: 45.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1355, allocations: 60.99 MB / 0.5142 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001505/0.137, allocations: 0.5134 MB / 0.5147 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1385, allocations: 1.448 MB / 0.5161 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.1386, allocations: 4 kB / 0.5161 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.1386, allocations: 0 / 0.5161 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/0.1386, allocations: 0 / 0.5161 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.139, allocations: 105.8 kB / 0.5162 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.117e-05/0.1391, allocations: 5.375 kB / 0.5162 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.1391, allocations: 1.375 kB / 0.5162 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.399e-05/0.1391, allocations: 0 / 0.5162 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.968e-05/0.1392, allocations: 5.312 kB / 0.5162 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.1392, allocations: 0 / 0.5162 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.1394, allocations: 70.3 kB / 0.5163 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.146e-06/0.1394, allocations: 0 / 0.5163 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.621e-05/0.1395, allocations: 1.375 kB / 0.5163 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.517e-05/0.1396, allocations: 30.89 kB / 0.5163 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1396, allocations: 0 / 0.5163 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1396, allocations: 1.375 kB / 0.5163 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1396, allocations: 0 / 0.5163 GB, free: 10.84 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.0002546/0.1398, allocations: 344.1 kB / 0.5166 GB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1399, allocations: 20.47 kB / 0.5166 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.1399, allocations: 6.219 kB / 0.5167 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.664e-05/0.1399, allocations: 160.4 kB / 0.5168 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.14, allocations: 1.656 kB / 0.5168 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.14, allocations: 384 / 0.5168 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.474e-05/0.1401, allocations: 32.48 kB / 0.5168 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1401, allocations: 3.938 kB / 0.5168 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1401, allocations: 1.406 kB / 0.5168 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1401, allocations: 0 / 0.5168 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.787e-05/0.1401, allocations: 1.531 kB / 0.5168 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.1402, allocations: 155.1 kB / 0.517 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.603e-05/0.1402, allocations: 23.77 kB / 0.517 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.213e-05/0.1403, allocations: 6.422 kB / 0.517 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.1403, allocations: 0 / 0.517 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.1403, allocations: 61.8 kB / 0.5171 GB, free: 9.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 6.62e-07/0.1403, allocations: 0 / 0.5171 GB, free: 9.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001629/0.1405, allocations: 71.11 kB / 0.5172 GB, free: 9.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.1405, allocations: 82.39 kB / 0.5172 GB, free: 9.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.099e-05/0.1405, allocations: 89.86 kB / 0.5173 GB, free: 9.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.062e-06/0.1405, allocations: 25.7 kB / 0.5173 GB, free: 9.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.026e-05/0.1405, allocations: 84.12 kB / 0.5174 GB, free: 9.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.1406, allocations: 1.312 kB / 0.5174 GB, free: 9.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.1406, allocations: 11.84 kB / 0.5174 GB, free: 9.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.826e-05/0.1406, allocations: 315.8 kB / 0.5177 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-06/0.1406, allocations: 4.125 kB / 0.5177 GB, free: 9.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.1406, allocations: 2 kB / 0.5177 GB, free: 9.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.027e-05/0.1407, allocations: 63.48 kB / 0.5178 GB, free: 9.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1407, allocations: 0 / 0.5178 GB, free: 9.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.981e-05/0.1407, allocations: 58.62 kB / 0.5179 GB, free: 9.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.1407, allocations: 39.66 kB / 0.5179 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1407, allocations: 3.938 kB / 0.5179 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1408, allocations: 0 / 0.5179 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1408, allocations: 1.188 kB / 0.5179 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1408, allocations: 4.094 kB / 0.5179 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.1408, allocations: 1.562 kB / 0.5179 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1408, allocations: 4 kB / 0.5179 GB, free: 8.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.8e-05/0.1408, allocations: 138.3 kB / 0.518 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.1409, allocations: 3.938 kB / 0.518 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.798e-06/0.1409, allocations: 4.469 kB / 0.518 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/0.1409, allocations: 0 / 0.518 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1409, allocations: 0 / 0.518 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1409, allocations: 5.328 kB / 0.5181 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.673e-05/0.1409, allocations: 150.9 kB / 0.5182 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.1409, allocations: 0 / 0.5182 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1409, allocations: 0 / 0.5182 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1409, allocations: 5.312 kB / 0.5182 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.1409, allocations: 0 / 0.5182 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.1409, allocations: 5.75 kB / 0.5182 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1409, allocations: 3.938 kB / 0.5182 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.762e-05/0.141, allocations: 96.7 kB / 0.5183 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.141, allocations: 78.77 kB / 0.5184 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.141, allocations: 3.938 kB / 0.5184 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-06/0.141, allocations: 1.812 kB / 0.5184 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.141, allocations: 3.984 kB / 0.5184 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.141, allocations: 1.5 kB / 0.5184 GB, free: 8.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.357e-05/0.1411, allocations: 75.28 kB / 0.5185 GB, free: 8.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1411, allocations: 0 / 0.5185 GB, free: 8.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.1413, allocations: 10 kB / 0.5185 GB, free: 8.324 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 (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.000279/0.1416, allocations: 138.5 kB / 0.5186 GB, free: 8.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.1417, allocations: 60.55 kB / 0.5187 GB, free: 8.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1417, allocations: 0 / 0.5187 GB, free: 8.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.007e-05/0.1417, allocations: 53.88 kB / 0.5187 GB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.1418, allocations: 2.375 kB / 0.5187 GB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001763/0.142, allocations: 91.67 kB / 0.5188 GB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.1421, allocations: 0.678 MB / 0.5195 GB, free: 7.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.48e-06/0.1421, allocations: 1.156 kB / 0.5195 GB, free: 7.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.062e-05/0.1421, allocations: 8.719 kB / 0.5195 GB, free: 7.266 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1421, allocations: 0 / 0.5195 GB, free: 7.266 MB / 382.1 MB Notification: Performance of Templates: time 0.003034/0.1452, allocations: 0.5159 MB / 0.52 GB, free: 6.855 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) [Timeout 480] 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: 5.260254013352096]