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.001585/0.001585, allocations: 91.22 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.001526/0.001526, allocations: 165 kB / 23.8 MB, free: 0.7773 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.8371/0.8371, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.2022/0.2022, 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 7.52e-07/7.52e-07, allocations: 0 / 347.7 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.534e-06/8.286e-06, allocations: 6.25 kB / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.0007249/0.0007332, allocations: 0.5414 MB / 348.2 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.002335, allocations: 1.973 MB / 350.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.133e-06/0.002342, allocations: 0 / 350.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.746e-06/0.002351, allocations: 3.938 kB / 350.2 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.635e-06/0.002353, allocations: 0 / 350.2 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006459/0.002999, allocations: 0.4984 MB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 2.639e-05/0.003026, allocations: 0 / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.494e-05/0.00304, allocations: 0 / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.393e-05/0.003054, allocations: 8 kB / 350.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.007e-05/0.003064, allocations: 0 / 350.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-06/0.003068, allocations: 4 kB / 350.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005247/0.003593, allocations: 0.6626 MB / 351.4 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.421e-06/0.003598, allocations: 3.984 kB / 351.4 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.105e-05/0.003609, allocations: 0 / 351.4 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.003943, allocations: 474.8 kB / 351.8 MB, free: 5.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003945, allocations: 3.984 kB / 351.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003945, allocations: 0 / 351.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.555e-06/0.003948, allocations: 3.938 kB / 351.8 MB, free: 5.273 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.0001794/0.004127, allocations: 433.4 kB / 352.3 MB, free: 4.809 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.238e-05/0.004149, allocations: 12.03 kB / 352.3 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.713e-05/0.004167, allocations: 0.9375 kB / 352.3 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 2.362e-05/0.00419, allocations: 108.6 kB / 352.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-06/0.004196, allocations: 384 / 352.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.648e-06/0.0042, allocations: 4.375 kB / 352.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.866e-05/0.004239, allocations: 55.97 kB / 352.4 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-06/0.004242, allocations: 192 / 352.4 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.004249, allocations: 4.375 kB / 352.4 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.004253, allocations: 3.938 kB / 352.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.134e-05/0.004265, allocations: 33.62 kB / 352.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.161e-05/0.004316, allocations: 112.6 kB / 352.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.574e-05/0.004342, allocations: 48.77 kB / 352.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.31e-05/0.004355, allocations: 37.48 kB / 352.7 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-06/0.004358, allocations: 0 / 352.7 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.00438, allocations: 59.09 kB / 352.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 3.81e-07/0.00438, allocations: 4 kB / 352.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.676e-05/0.004477, allocations: 122.7 kB / 352.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.836e-05/0.004495, allocations: 85.05 kB / 352.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.186e-05/0.004517, allocations: 142.2 kB / 353.1 MB, free: 3.812 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.51e-06/0.004523, allocations: 25.7 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.403e-05/0.004537, allocations: 126.9 kB / 353.2 MB, free: 3.652 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.638e-06/0.004546, allocations: 4.281 kB / 353.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.004562, allocations: 23.36 kB / 353.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.00461, allocations: 496.1 kB / 353.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.004618, allocations: 25.7 kB / 353.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-06/0.004624, allocations: 33.83 kB / 353.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.697e-05/0.004651, allocations: 63.09 kB / 353.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.004653, allocations: 3.938 kB / 353.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.928e-05/0.004692, allocations: 93.05 kB / 353.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.004713, allocations: 33.7 kB / 354 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.004718, allocations: 0 / 354 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.004732, allocations: 0 / 354 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.02e-06/0.004737, allocations: 3.984 kB / 354 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.004744, allocations: 7.938 kB / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-06/0.004753, allocations: 4.094 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.004758, allocations: 0 / 354 MB, free: 2.805 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.134e-05/0.0048, allocations: 186.3 kB / 354.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-06/0.004804, allocations: 0 / 354.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.254e-06/0.004811, allocations: 3 kB / 354.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.31e-07/0.004812, allocations: 0 / 354.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.004815, allocations: 0 / 354.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.004818, allocations: 3.938 kB / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.786e-05/0.004846, allocations: 112.6 kB / 354.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004847, allocations: 0 / 354.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.004847, allocations: 4 kB / 354.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.004848, allocations: 7.984 kB / 354.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.004854, allocations: 0 / 354.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.004854, allocations: 7.938 kB / 354.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.004855, allocations: 0 / 354.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.53e-05/0.004901, allocations: 135.8 kB / 354.4 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-06/0.004903, allocations: 0 / 354.4 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.004914, allocations: 4 kB / 354.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-06/0.004918, allocations: 0 / 354.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.09e-05/0.004929, allocations: 0 / 354.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-06/0.00493, allocations: 0 / 354.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.183e-05/0.004942, allocations: 127.2 kB / 354.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004942, allocations: 0 / 354.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.005155, allocations: 139.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.0004431/0.005598, allocations: 321.8 kB / 355 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.945e-05/0.005667, allocations: 122.4 kB / 355.1 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.005668, allocations: 0 / 355.1 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.465e-05/0.005683, allocations: 88.8 kB / 355.2 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.994e-05/0.005763, allocations: 7.984 kB / 355.2 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001457/0.005909, allocations: 114.5 kB / 355.3 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.849e-05/0.005927, allocations: 51.36 kB / 355.4 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.659e-06/0.005932, allocations: 0 / 355.4 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.096e-05/0.005943, allocations: 12.62 kB / 355.4 MB, free: 1.195 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.005943, allocations: 4 kB / 355.4 MB, free: 1.191 MB / 282.7 MB Notification: Performance of Templates: time 0.005067/0.01101, allocations: 3.97 MB / 359.4 MB, free: 13.22 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.292491872794926]