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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 95.2 kB / 20.43 MB, free: 4.145 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009599/0.0009599, allocations: 165 kB / 23.79 MB, free: 0.7812 MB / 18.57 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 0.8982/0.8982, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] 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.1843/0.1843, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.232e-05, allocations: 6.25 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.00103/0.001052, allocations: 0.5325 MB / 348.2 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.003087, allocations: 1.973 MB / 350.2 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.003116, allocations: 0 / 350.2 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.003137, allocations: 11.88 kB / 350.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.003e-06/0.003144, allocations: 0 / 350.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.004199, allocations: 0.5023 MB / 350.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.802e-05/0.004247, allocations: 0 / 350.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.00428, allocations: 4 kB / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.665e-05/0.004307, allocations: 0 / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.854e-05/0.004325, allocations: 0 / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.346e-06/0.004334, allocations: 0 / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000599/0.004933, allocations: 0.6587 MB / 351.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.00494, allocations: 0 / 351.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.00496, allocations: 4 kB / 351.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.005342, allocations: 470.8 kB / 351.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.005345, allocations: 0 / 351.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005346, allocations: 4 kB / 351.8 MB, free: 5.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.00535, allocations: 3.938 kB / 351.8 MB, free: 5.27 MB / 282.7 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.0002783/0.005628, allocations: 433.4 kB / 352.2 MB, free: 4.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.005665, allocations: 8.031 kB / 352.3 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.005702, allocations: 16.86 kB / 352.3 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.78e-05/0.00574, allocations: 112.6 kB / 352.4 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.005751, allocations: 384 / 352.4 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.005761, allocations: 384 / 352.4 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.809e-05/0.005839, allocations: 59.97 kB / 352.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.005847, allocations: 192 / 352.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.005856, allocations: 384 / 352.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.005863, allocations: 3.938 kB / 352.4 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.41e-05/0.005877, allocations: 29.7 kB / 352.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.838e-05/0.005945, allocations: 108.6 kB / 352.6 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.651e-05/0.005982, allocations: 60.73 kB / 352.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.224e-05/0.005994, allocations: 33.39 kB / 352.7 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-06/0.005998, allocations: 0 / 352.7 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.006023, allocations: 63.16 kB / 352.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.006023, allocations: 0 / 352.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001452/0.006168, allocations: 118.8 kB / 352.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.006192, allocations: 84.98 kB / 352.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.632e-05/0.006219, allocations: 146.2 kB / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-06/0.006223, allocations: 25.7 kB / 353.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.074e-05/0.006234, allocations: 126.9 kB / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.006249, allocations: 8.406 kB / 353.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.006269, allocations: 23.38 kB / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.111e-05/0.00631, allocations: 496.1 kB / 353.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.006324, allocations: 25.7 kB / 353.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-06/0.006331, allocations: 29.7 kB / 353.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.939e-05/0.006361, allocations: 59.09 kB / 353.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.006362, allocations: 0 / 353.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.163e-05/0.006404, allocations: 97.05 kB / 353.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.006427, allocations: 37.64 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006433, allocations: 96 / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.006447, allocations: 4 kB / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-06/0.00645, allocations: 0 / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.006456, allocations: 3.938 kB / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.013e-05/0.006466, allocations: 4 kB / 354 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.006471, allocations: 4 kB / 354 MB, free: 2.789 MB / 282.7 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 4.178e-05/0.006513, allocations: 186.3 kB / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-06/0.006518, allocations: 4 kB / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.072e-05/0.006528, allocations: 3 kB / 354.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.00653, allocations: 0 / 354.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.006533, allocations: 0 / 354.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006537, allocations: 7.938 kB / 354.2 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.231e-05/0.006569, allocations: 108.6 kB / 354.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4e-07/0.006569, allocations: 0 / 354.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.00657, allocations: 0 / 354.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.006571, allocations: 0 / 354.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.006576, allocations: 4 kB / 354.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.006577, allocations: 3.984 kB / 354.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.006577, allocations: 0 / 354.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.071e-05/0.006628, allocations: 131.7 kB / 354.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-06/0.006632, allocations: 3.984 kB / 354.4 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.006642, allocations: 4.031 kB / 354.4 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.699e-06/0.006647, allocations: 4 kB / 354.4 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.09e-05/0.006658, allocations: 4 kB / 354.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-06/0.006659, allocations: 0 / 354.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.186e-05/0.006671, allocations: 123.1 kB / 354.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006671, allocations: 0 / 354.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.006889, allocations: 127.5 kB / 354.7 MB, free: 2 MB / 282.7 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.0005419/0.007431, allocations: 329.8 kB / 355 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.016e-05/0.007511, allocations: 122.5 kB / 355.1 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.007512, allocations: 0 / 355.1 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.341e-05/0.007526, allocations: 88.8 kB / 355.2 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.701e-05/0.007613, allocations: 3.938 kB / 355.2 MB, free: 1.414 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001504/0.007763, allocations: 122.6 kB / 355.3 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.994e-05/0.007783, allocations: 55.36 kB / 355.4 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.479e-06/0.007788, allocations: 0 / 355.4 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.159e-05/0.007799, allocations: 8.5 kB / 355.4 MB, free: 1.18 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0078, allocations: 0 / 355.4 MB, free: 1.18 MB / 282.7 MB Notification: Performance of Templates: time 0.00452/0.01232, allocations: 3.401 MB / 358.8 MB, free: 13.78 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.223984365351498]