Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.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.001908/0.001908, allocations: 109.8 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.00208/0.00208, allocations: 187.2 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.608/1.608, 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.2243/0.2243, allocations: 44.24 MB / 330.2 MB, free: 9.543 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.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial")
translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") [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.002555/0.002555, allocations: 79.88 kB / 467.9 MB, free: 4.043 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1623, allocations: 61.03 MB / 0.5166 GB, free: 6.875 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.002211/0.1645, allocations: 0.5104 MB / 0.5171 GB, free: 6.363 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00404/0.1685, allocations: 2.065 MB / 0.5191 GB, free: 4.273 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.1685, allocations: 0 / 0.5191 GB, free: 4.273 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.1685, allocations: 0 / 0.5191 GB, free: 4.273 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.115e-06/0.1686, allocations: 0 / 0.5191 GB, free: 4.273 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.1704, allocations: 0.4948 MB / 0.5196 GB, free: 3.777 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 6.505e-05/0.1704, allocations: 4 kB / 0.5196 GB, free: 3.773 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.1705, allocations: 4 kB / 0.5196 GB, free: 3.77 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.28e-05/0.1705, allocations: 3.938 kB / 0.5196 GB, free: 3.766 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 2.295e-05/0.1705, allocations: 3.984 kB / 0.5196 GB, free: 3.762 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.1705, allocations: 0 / 0.5196 GB, free: 3.762 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.1718, allocations: 0.7214 MB / 0.5203 GB, free: 3.039 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.1718, allocations: 3.938 kB / 0.5203 GB, free: 3.035 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.1718, allocations: 3.984 kB / 0.5203 GB, free: 3.031 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006057/0.1724, allocations: 383.1 kB / 0.5207 GB, free: 2.656 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1724, allocations: 0 / 0.5207 GB, free: 2.656 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.082e-06/0.1724, allocations: 0 / 0.5207 GB, free: 2.656 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.203e-06/0.1724, allocations: 4 kB / 0.5207 GB, free: 2.652 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.0005536/0.173, allocations: 335.4 kB / 0.521 GB, free: 2.289 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1731, allocations: 8.031 kB / 0.521 GB, free: 2.281 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.1731, allocations: 8.922 kB / 0.521 GB, free: 2.273 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.1732, allocations: 106.5 kB / 0.5211 GB, free: 2.145 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.1732, allocations: 384 / 0.5211 GB, free: 2.145 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.1732, allocations: 384 / 0.5211 GB, free: 2.145 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.1734, allocations: 34.02 kB / 0.5211 GB, free: 2.105 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1734, allocations: 0 / 0.5211 GB, free: 2.105 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1734, allocations: 0 / 0.5211 GB, free: 2.105 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1734, allocations: 0 / 0.5211 GB, free: 2.105 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.396e-05/0.1734, allocations: 3.938 kB / 0.5211 GB, free: 2.102 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.1736, allocations: 128.8 kB / 0.5213 GB, free: 1.934 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.656e-05/0.1736, allocations: 14.58 kB / 0.5213 GB, free: 1.91 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.1737, allocations: 4.859 kB / 0.5213 GB, free: 1.902 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.1737, allocations: 4.094 kB / 0.5213 GB, free: 1.898 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.891e-05/0.1737, allocations: 60.2 kB / 0.5213 GB, free: 1.824 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.1737, allocations: 0 / 0.5213 GB, free: 1.824 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0002248/0.174, allocations: 71.33 kB / 0.5214 GB, free: 1.742 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.174, allocations: 81.23 kB / 0.5215 GB, free: 1.645 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.536e-05/0.1741, allocations: 89.86 kB / 0.5216 GB, free: 1.547 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1741, allocations: 25.7 kB / 0.5216 GB, free: 1.516 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.1742, allocations: 80.14 kB / 0.5217 GB, free: 1.434 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.1742, allocations: 4 kB / 0.5217 GB, free: 1.43 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.1742, allocations: 13.72 kB / 0.5217 GB, free: 1.41 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001513/0.1744, allocations: 314.8 kB / 0.522 GB, free: 1.094 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-06/0.1744, allocations: 0 / 0.522 GB, free: 1.094 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.1744, allocations: 8 kB / 0.522 GB, free: 1.086 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.947e-05/0.1744, allocations: 64.25 kB / 0.5221 GB, free: 1.008 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1745, allocations: 0 / 0.5221 GB, free: 1.008 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 8.585e-05/0.1745, allocations: 59.34 kB / 0.5221 GB, free: 0.9375 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.1746, allocations: 41.64 kB / 0.5222 GB, free: 0.8906 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1746, allocations: 0 / 0.5222 GB, free: 0.8906 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1746, allocations: 0 / 0.5222 GB, free: 0.8906 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1746, allocations: 0 / 0.5222 GB, free: 0.8906 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.1746, allocations: 4.078 kB / 0.5222 GB, free: 0.8867 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.1746, allocations: 12 kB / 0.5222 GB, free: 0.875 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.1746, allocations: 3.938 kB / 0.5222 GB, free: 0.8711 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 0.000108/0.1747, allocations: 131.5 kB / 0.5223 GB, free: 0.7266 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.1748, allocations: 7.938 kB / 0.5223 GB, free: 0.7188 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.025e-05/0.1748, allocations: 3 kB / 0.5223 GB, free: 0.7188 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.41e-07/0.1748, allocations: 0 / 0.5223 GB, free: 0.7188 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1748, allocations: 0 / 0.5223 GB, free: 0.7188 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1748, allocations: 0 / 0.5223 GB, free: 0.7188 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.1749, allocations: 120.8 kB / 0.5224 GB, free: 0.5586 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1749, allocations: 8 kB / 0.5224 GB, free: 0.5508 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1749, allocations: 0 / 0.5224 GB, free: 0.5508 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1749, allocations: 3.938 kB / 0.5224 GB, free: 0.5469 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1749, allocations: 0 / 0.5224 GB, free: 0.5469 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.1749, allocations: 0 / 0.5224 GB, free: 0.5469 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1749, allocations: 3.984 kB / 0.5224 GB, free: 0.543 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.175, allocations: 94.77 kB / 0.5225 GB, free: 436 kB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.175, allocations: 8.031 kB / 0.5225 GB, free: 428 kB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.1751, allocations: 7.938 kB / 0.5226 GB, free: 420 kB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-06/0.1751, allocations: 0 / 0.5226 GB, free: 420 kB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.1751, allocations: 0 / 0.5226 GB, free: 420 kB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.1751, allocations: 0 / 0.5226 GB, free: 420 kB / 398.1 MB
Notification: Performance of sorting global known variables: time 4.244e-05/0.1751, allocations: 75.28 kB / 0.5226 GB, free: 344 kB / 398.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.1751, allocations: 0 / 0.5226 GB, free: 344 kB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0003998/0.1755, allocations: 127.6 kB / 0.5227 GB, free: 216 kB / 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.0008128/0.1763, allocations: 311.5 kB / 0.523 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001062/0.1764, allocations: 63.39 kB / 0.5231 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1764, allocations: 0 / 0.5231 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.442e-05/0.1765, allocations: 59.41 kB / 0.5232 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.1766, allocations: 8.062 kB / 0.5232 GB, free: 15.74 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002059/0.1768, allocations: 84.86 kB / 0.5232 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1771, allocations: 0.6768 MB / 0.5239 GB, free: 14.93 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.32e-06/0.1771, allocations: 3.938 kB / 0.5239 GB, free: 14.93 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.1771, allocations: 7.438 kB / 0.5239 GB, free: 14.92 MB / 414.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.1771, allocations: 0 / 0.5239 GB, free: 14.92 MB / 414.1 MB
Notification: Performance of Templates: time 0.007901/0.1851, allocations: 3.396 MB / 0.5272 GB, free: 11.52 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.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.7262155851349235]