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.001048/0.001048, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001154/0.001154, allocations: 169 kB / 24.24 MB, free: 312 kB / 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.9677/0.9677, allocations: 158.6 MB / 186 MB, free: 2.902 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.144/0.144, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.783e-06/1.783e-06, allocations: 3.938 kB / 347.7 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.715e-05/3.893e-05, allocations: 6.25 kB / 347.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001392/0.001431, allocations: 0.5345 MB / 348.2 MB, free: 9.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.003612, allocations: 1.966 MB / 350.2 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.003649, allocations: 0 / 350.2 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.003672, allocations: 3.938 kB / 350.2 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.032e-05/0.003683, allocations: 4 kB / 350.2 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.005251, allocations: 0.5023 MB / 350.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.907e-05/0.005351, allocations: 4 kB / 350.7 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.0054, allocations: 0 / 350.7 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.212e-05/0.005432, allocations: 0 / 350.7 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.219e-05/0.005454, allocations: 0 / 350.7 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.005465, allocations: 0 / 350.7 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009383/0.006403, allocations: 0.6626 MB / 351.3 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.006414, allocations: 7.984 kB / 351.3 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.006437, allocations: 0 / 351.3 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005311/0.006968, allocations: 466.9 kB / 351.8 MB, free: 5.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.006973, allocations: 0 / 351.8 MB, free: 5.621 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.006975, allocations: 0 / 351.8 MB, free: 5.621 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.006981, allocations: 3.938 kB / 351.8 MB, free: 5.617 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.0003897/0.007371, allocations: 441.4 kB / 352.2 MB, free: 5.145 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.007411, allocations: 12.03 kB / 352.2 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.007455, allocations: 0.9375 kB / 352.2 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.998e-05/0.007515, allocations: 112.6 kB / 352.4 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.007529, allocations: 384 / 352.4 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.00754, allocations: 4.375 kB / 352.4 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.007645, allocations: 55.91 kB / 352.4 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.007653, allocations: 192 / 352.4 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.007665, allocations: 4.375 kB / 352.4 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.007682, allocations: 3.938 kB / 352.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.062e-05/0.007703, allocations: 33.69 kB / 352.5 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.007806, allocations: 108.6 kB / 352.6 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.373e-05/0.007849, allocations: 48.77 kB / 352.6 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.007869, allocations: 41.48 kB / 352.7 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.007875, allocations: 3.938 kB / 352.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/0.007925, allocations: 59.09 kB / 352.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.007927, allocations: 0 / 352.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000207/0.008134, allocations: 114.8 kB / 352.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.008172, allocations: 85.05 kB / 352.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.962e-05/0.008202, allocations: 146.2 kB / 353.1 MB, free: 4.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.008209, allocations: 29.83 kB / 353.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.757e-05/0.008227, allocations: 126.9 kB / 353.2 MB, free: 3.984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.008249, allocations: 4.281 kB / 353.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.008278, allocations: 23.36 kB / 353.2 MB, free: 3.949 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.008365, allocations: 492.1 kB / 353.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-05/0.008391, allocations: 25.7 kB / 353.7 MB, free: 3.426 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.513e-05/0.008407, allocations: 33.64 kB / 353.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.081e-05/0.008467, allocations: 67.09 kB / 353.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.008471, allocations: 0 / 353.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.889e-05/0.00854, allocations: 97.11 kB / 353.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.008572, allocations: 29.7 kB / 354 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.008579, allocations: 0 / 354 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.008594, allocations: 3.984 kB / 354 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.008595, allocations: 0 / 354 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.008602, allocations: 7.938 kB / 354 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.008617, allocations: 0 / 354 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.008624, allocations: 0 / 354 MB, free: 3.145 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 5.898e-05/0.008683, allocations: 190.2 kB / 354.2 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-06/0.008689, allocations: 0 / 354.2 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.194e-05/0.008701, allocations: 7.031 kB / 354.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.008703, allocations: 4 kB / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.008707, allocations: 0 / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.008711, allocations: 3.938 kB / 354.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.118e-05/0.008752, allocations: 112.6 kB / 354.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.008753, allocations: 0 / 354.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.21e-07/0.008754, allocations: 0 / 354.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.008755, allocations: 4 kB / 354.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.008763, allocations: 3.984 kB / 354.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.008764, allocations: 4 kB / 354.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008765, allocations: 0 / 354.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.441e-05/0.00885, allocations: 135.8 kB / 354.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-06/0.008855, allocations: 3.984 kB / 354.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.00887, allocations: 4 kB / 354.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-06/0.008876, allocations: 0 / 354.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.008889, allocations: 3.938 kB / 354.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.008892, allocations: 0 / 354.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.588e-05/0.008908, allocations: 123.1 kB / 354.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008908, allocations: 0 / 354.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002938/0.009201, allocations: 131.5 kB / 354.7 MB, free: 2.34 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.0006084/0.00981, allocations: 324.8 kB / 355 MB, free: 2.023 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.009923, allocations: 118.5 kB / 355.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.009925, allocations: 0 / 355.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.935e-05/0.009944, allocations: 96.86 kB / 355.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.01005, allocations: 4 kB / 355.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001809/0.01023, allocations: 114.5 kB / 355.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.529e-05/0.01025, allocations: 55.34 kB / 355.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.562e-06/0.01026, allocations: 0 / 355.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.384e-05/0.01027, allocations: 8.5 kB / 355.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of SimCode: time 1.242e-06/0.01028, allocations: 7.938 kB / 355.4 MB, free: 1.523 MB / 282.7 MB Notification: Performance of Templates: time 0.006084/0.01636, allocations: 3.394 MB / 358.8 MB, free: 14.13 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.251119111897424]