Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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.001379/0.001379, allocations: 107.2 kB / 19.69 MB, free: 2.199 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.001537/0.001537, allocations: 188.9 kB / 22.98 MB, free: 5.062 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.624/1.624, allocations: 207.6 MB / 233.7 MB, free: 10 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.251/0.251, allocations: 44.23 MB / 330.2 MB, free: 9.559 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.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions")
translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") [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.002259/0.002259, allocations: 70.56 kB / 467.9 MB, free: 4.082 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1713, allocations: 61.03 MB / 0.5165 GB, free: 6.914 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001897/0.1732, allocations: 494.7 kB / 0.517 GB, free: 6.43 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004321/0.1775, allocations: 2.356 MB / 0.5193 GB, free: 4.051 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.942e-05/0.1776, allocations: 7.875 kB / 0.5193 GB, free: 4.043 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.1776, allocations: 0 / 0.5193 GB, free: 4.043 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 1.022e-05/0.1776, allocations: 0 / 0.5193 GB, free: 4.043 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.1813, allocations: 1.133 MB / 0.5204 GB, free: 2.906 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 7.02e-05/0.1814, allocations: 0 / 0.5204 GB, free: 2.906 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.4e-05/0.1814, allocations: 3.984 kB / 0.5204 GB, free: 2.902 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.915e-05/0.1815, allocations: 0 / 0.5204 GB, free: 2.902 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 2.94e-05/0.1815, allocations: 11.88 kB / 0.5205 GB, free: 2.891 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.086e-06/0.1815, allocations: 0 / 0.5205 GB, free: 2.891 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.1833, allocations: 0.9873 MB / 0.5214 GB, free: 1.902 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.1833, allocations: 7.984 kB / 0.5214 GB, free: 1.895 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.1833, allocations: 0 / 0.5214 GB, free: 1.895 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007092/0.184, allocations: 427.1 kB / 0.5218 GB, free: 1.477 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.184, allocations: 0 / 0.5218 GB, free: 1.477 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.284e-06/0.1841, allocations: 0 / 0.5218 GB, free: 1.477 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.905e-06/0.1841, allocations: 0 / 0.5218 GB, free: 1.477 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.0005817/0.1846, allocations: 355.3 kB / 0.5222 GB, free: 1.094 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 0.0001333/0.1848, allocations: 8.031 kB / 0.5222 GB, free: 1.086 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.1848, allocations: 4.938 kB / 0.5222 GB, free: 1.082 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.185, allocations: 106.5 kB / 0.5223 GB, free: 0.9531 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.185, allocations: 384 / 0.5223 GB, free: 0.9531 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.185, allocations: 4.312 kB / 0.5223 GB, free: 0.9492 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1852, allocations: 34.02 kB / 0.5223 GB, free: 0.9102 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1852, allocations: 0 / 0.5223 GB, free: 0.9102 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1852, allocations: 0 / 0.5223 GB, free: 0.9102 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1852, allocations: 3.984 kB / 0.5223 GB, free: 0.9062 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.615e-05/0.1853, allocations: 7.938 kB / 0.5223 GB, free: 0.8984 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.1855, allocations: 128.7 kB / 0.5225 GB, free: 0.7305 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 6.907e-05/0.1856, allocations: 14.58 kB / 0.5225 GB, free: 0.707 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.1856, allocations: 8.953 kB / 0.5225 GB, free: 0.6953 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.1856, allocations: 0 / 0.5225 GB, free: 0.6953 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.671e-05/0.1857, allocations: 64.2 kB / 0.5225 GB, free: 0.6172 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1857, allocations: 0 / 0.5225 GB, free: 0.6172 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0003325/0.186, allocations: 71.33 kB / 0.5226 GB, free: 0.5352 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/0.1861, allocations: 77.11 kB / 0.5227 GB, free: 452 kB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/0.1862, allocations: 89.86 kB / 0.5228 GB, free: 352 kB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1862, allocations: 25.7 kB / 0.5228 GB, free: 320 kB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.1863, allocations: 80.14 kB / 0.5229 GB, free: 236 kB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.1863, allocations: 4 kB / 0.5229 GB, free: 232 kB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.1864, allocations: 13.72 kB / 0.5229 GB, free: 212 kB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002234/0.1866, allocations: 310.8 kB / 0.5232 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.1866, allocations: 12.06 kB / 0.5232 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-06/0.1866, allocations: 3.984 kB / 0.5232 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 7.817e-05/0.1867, allocations: 60.27 kB / 0.5233 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1867, allocations: 0 / 0.5233 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 7.927e-05/0.1868, allocations: 63.34 kB / 0.5233 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/0.1868, allocations: 37.64 kB / 0.5233 GB, free: 15.69 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.1868, allocations: 3.984 kB / 0.5234 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.1869, allocations: 4 kB / 0.5234 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-06/0.1869, allocations: 0 / 0.5234 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1869, allocations: 4.094 kB / 0.5234 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.1869, allocations: 0 / 0.5234 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.1869, allocations: 4 kB / 0.5234 GB, free: 15.67 MB / 414.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 0.0001756/0.1871, allocations: 131.5 kB / 0.5235 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.1871, allocations: 3.938 kB / 0.5235 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.303e-05/0.1871, allocations: 7 kB / 0.5235 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1871, allocations: 0 / 0.5235 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1871, allocations: 0 / 0.5235 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1871, allocations: 0 / 0.5235 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.1873, allocations: 120.8 kB / 0.5236 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1873, allocations: 0 / 0.5236 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.1873, allocations: 4 kB / 0.5236 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1873, allocations: 3.938 kB / 0.5236 GB, free: 15.35 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1873, allocations: 7.938 kB / 0.5236 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.1873, allocations: 0 / 0.5236 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.1873, allocations: 0 / 0.5236 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.1874, allocations: 94.77 kB / 0.5237 GB, free: 15.23 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.1875, allocations: 4.031 kB / 0.5237 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1875, allocations: 3.938 kB / 0.5237 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.159e-05/0.1875, allocations: 4 kB / 0.5237 GB, free: 15.21 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.1875, allocations: 0 / 0.5237 GB, free: 15.21 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.1875, allocations: 0 / 0.5237 GB, free: 15.21 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 5.766e-05/0.1876, allocations: 75.28 kB / 0.5238 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.1876, allocations: 0 / 0.5238 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0005299/0.1881, allocations: 143.6 kB / 0.5239 GB, free: 15 MB / 414.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.0008425/0.1889, allocations: 364.8 kB / 0.5243 GB, free: 14.64 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001346/0.1891, allocations: 59.39 kB / 0.5243 GB, free: 14.57 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1891, allocations: 4.062 kB / 0.5243 GB, free: 14.56 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.633e-05/0.1891, allocations: 63.33 kB / 0.5244 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.1893, allocations: 7.938 kB / 0.5244 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.1895, allocations: 84.94 kB / 0.5245 GB, free: 14.37 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.1899, allocations: 0.6806 MB / 0.5252 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 8.756e-06/0.1899, allocations: 0 / 0.5252 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.636e-05/0.19, allocations: 7.438 kB / 0.5252 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of SimCode: time 2.9e-07/0.19, allocations: 0 / 0.5252 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of Templates: time 0.01033/0.2003, allocations: 4.299 MB / 0.5294 GB, free: 9.352 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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.851236695423722]