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.001297/0.001297, allocations: 107.3 kB / 19.69 MB, free: 2.188 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.001353/0.001353, allocations: 191.3 kB / 22.98 MB, free: 5.016 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.638/1.638, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.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.2305/0.2305, allocations: 44.23 MB / 330.2 MB, free: 9.562 MB / 270.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.002281/0.002281, allocations: 74.55 kB / 467.9 MB, free: 4.074 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1322, allocations: 61.03 MB / 0.5166 GB, free: 6.898 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001832/0.134, allocations: 0.4948 MB / 0.5171 GB, free: 6.402 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00242/0.1364, allocations: 1.453 MB / 0.5185 GB, free: 4.93 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.1365, allocations: 4 kB / 0.5185 GB, free: 4.926 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.1365, allocations: 0 / 0.5185 GB, free: 4.926 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 6.713e-06/0.1365, allocations: 0 / 0.5185 GB, free: 4.926 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006289/0.1371, allocations: 111.6 kB / 0.5186 GB, free: 4.816 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 5.889e-05/0.1372, allocations: 0 / 0.5186 GB, free: 4.816 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.1372, allocations: 0 / 0.5186 GB, free: 4.816 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.807e-05/0.1372, allocations: 4 kB / 0.5186 GB, free: 4.812 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 2.61e-05/0.1373, allocations: 0 / 0.5186 GB, free: 4.812 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.1373, allocations: 0 / 0.5186 GB, free: 4.812 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.1376, allocations: 75.92 kB / 0.5187 GB, free: 4.738 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.185e-06/0.1377, allocations: 0 / 0.5187 GB, free: 4.738 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.1377, allocations: 0 / 0.5187 GB, free: 4.738 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.1378, allocations: 27.91 kB / 0.5187 GB, free: 4.711 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1378, allocations: 0 / 0.5187 GB, free: 4.711 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.853e-06/0.1378, allocations: 0 / 0.5187 GB, free: 4.711 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.113e-06/0.1378, allocations: 0 / 0.5187 GB, free: 4.711 MB / 398.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.000389/0.1382, allocations: 276.2 kB / 0.5189 GB, free: 4.406 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1382, allocations: 11.97 kB / 0.519 GB, free: 4.395 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.1383, allocations: 0.9375 kB / 0.519 GB, free: 4.395 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1384, allocations: 106.5 kB / 0.5191 GB, free: 4.266 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1384, allocations: 384 / 0.5191 GB, free: 4.266 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.1384, allocations: 4.312 kB / 0.5191 GB, free: 4.262 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.1385, allocations: 38 kB / 0.5191 GB, free: 4.219 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1385, allocations: 0 / 0.5191 GB, free: 4.219 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1385, allocations: 0 / 0.5191 GB, free: 4.219 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1385, allocations: 4 kB / 0.5191 GB, free: 4.215 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.675e-05/0.1386, allocations: 0 / 0.5191 GB, free: 4.215 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.1387, allocations: 120.8 kB / 0.5192 GB, free: 4.055 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/0.1388, allocations: 14.58 kB / 0.5192 GB, free: 4.031 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.1388, allocations: 8.797 kB / 0.5192 GB, free: 4.02 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.1388, allocations: 3.984 kB / 0.5192 GB, free: 4.016 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.311e-05/0.1388, allocations: 64.3 kB / 0.5193 GB, free: 3.938 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.1389, allocations: 4 kB / 0.5193 GB, free: 3.934 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.000188/0.139, allocations: 67.39 kB / 0.5194 GB, free: 3.855 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.1391, allocations: 77.11 kB / 0.5194 GB, free: 3.762 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.787e-05/0.1392, allocations: 89.86 kB / 0.5195 GB, free: 3.664 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1392, allocations: 29.69 kB / 0.5196 GB, free: 3.629 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.1392, allocations: 80.14 kB / 0.5196 GB, free: 3.547 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.1392, allocations: 0 / 0.5196 GB, free: 3.547 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.1393, allocations: 13.72 kB / 0.5197 GB, free: 3.527 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.00014/0.1394, allocations: 319 kB / 0.52 GB, free: 3.207 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.1394, allocations: 3.938 kB / 0.52 GB, free: 3.203 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-06/0.1394, allocations: 4 kB / 0.52 GB, free: 3.199 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.83e-05/0.1395, allocations: 60.2 kB / 0.52 GB, free: 3.125 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1395, allocations: 0 / 0.52 GB, free: 3.125 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 7.881e-05/0.1396, allocations: 63.39 kB / 0.5201 GB, free: 3.051 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.1396, allocations: 41.64 kB / 0.5201 GB, free: 3.004 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1396, allocations: 96 / 0.5201 GB, free: 3.004 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1396, allocations: 4 kB / 0.5201 GB, free: 3 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-07/0.1396, allocations: 0 / 0.5201 GB, free: 3 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1396, allocations: 0 / 0.5201 GB, free: 3 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.1396, allocations: 0 / 0.5201 GB, free: 3 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1396, allocations: 0 / 0.5201 GB, free: 3 MB / 398.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 9.652e-05/0.1397, allocations: 147.4 kB / 0.5203 GB, free: 2.84 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.1397, allocations: 3.938 kB / 0.5203 GB, free: 2.836 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.624e-06/0.1398, allocations: 3 kB / 0.5203 GB, free: 2.836 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.1398, allocations: 0 / 0.5203 GB, free: 2.836 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1398, allocations: 8 kB / 0.5203 GB, free: 2.828 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1398, allocations: 0 / 0.5203 GB, free: 2.828 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.183e-05/0.1399, allocations: 112.8 kB / 0.5204 GB, free: 2.676 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1399, allocations: 0 / 0.5204 GB, free: 2.676 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.1399, allocations: 7.969 kB / 0.5204 GB, free: 2.668 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1399, allocations: 3.938 kB / 0.5204 GB, free: 2.664 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1399, allocations: 8 kB / 0.5204 GB, free: 2.656 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1399, allocations: 0 / 0.5204 GB, free: 2.656 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1399, allocations: 0 / 0.5204 GB, free: 2.656 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.14, allocations: 90.84 kB / 0.5205 GB, free: 2.543 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.14, allocations: 7.984 kB / 0.5205 GB, free: 2.535 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.14, allocations: 3.938 kB / 0.5205 GB, free: 2.531 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.14, allocations: 0 / 0.5205 GB, free: 2.531 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.14, allocations: 4 kB / 0.5205 GB, free: 2.527 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.14, allocations: 0 / 0.5205 GB, free: 2.527 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 3.963e-05/0.1401, allocations: 83.25 kB / 0.5206 GB, free: 2.445 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1401, allocations: 0 / 0.5206 GB, free: 2.445 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002107/0.1403, allocations: 11.97 kB / 0.5206 GB, free: 2.434 MB / 398.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.0003077/0.1406, allocations: 141.2 kB / 0.5207 GB, free: 2.289 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001083/0.1407, allocations: 59.41 kB / 0.5208 GB, free: 2.219 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1407, allocations: 0 / 0.5208 GB, free: 2.219 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.1407, allocations: 55.41 kB / 0.5208 GB, free: 2.152 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.1409, allocations: 0 / 0.5208 GB, free: 2.152 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001876/0.1411, allocations: 88.97 kB / 0.5209 GB, free: 2.039 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1414, allocations: 0.669 MB / 0.5216 GB, free: 1.344 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 7.775e-06/0.1414, allocations: 4 kB / 0.5216 GB, free: 1.34 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.164e-05/0.1414, allocations: 7.438 kB / 0.5216 GB, free: 1.332 MB / 398.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.1414, allocations: 0 / 0.5216 GB, free: 1.332 MB / 398.1 MB
Notification: Performance of Templates: time 0.003205/0.1446, allocations: 0.5239 MB / 0.5221 GB, free: 0.8086 MB / 398.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.086931884288788]