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.001478/0.001478, allocations: 88.23 kB / 20.2 MB, free: 4.223 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.001636/0.001636, allocations: 157.7 kB / 23.51 MB, free: 0.918 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 1.599/1.599, allocations: 158.6 MB / 185.3 MB, free: 2.875 MB / 170.7 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.2441/0.2441, allocations: 32.37 MB / 270 MB, free: 14.76 MB / 266.7 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.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.523e-06/1.523e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.982e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.0013/0.001329, allocations: 0.5102 MB / 347.4 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.00356, allocations: 1.932 MB / 349.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.836e-05/0.003578, allocations: 0 / 349.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.003594, allocations: 4 kB / 349.4 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.641e-06/0.0036, allocations: 0 / 349.4 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.004872, allocations: 0.5023 MB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.842e-05/0.004921, allocations: 3.984 kB / 349.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.004955, allocations: 3.938 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.447e-05/0.004979, allocations: 4 kB / 349.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.867e-05/0.004998, allocations: 0 / 349.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/0.005007, allocations: 0 / 349.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007931/0.0058, allocations: 0.6588 MB / 350.5 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.005812, allocations: 3.984 kB / 350.6 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.005843, allocations: 4 kB / 350.6 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004864/0.006329, allocations: 470.8 kB / 351 MB, free: 5.684 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.006331, allocations: 0 / 351 MB, free: 5.684 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006332, allocations: 0 / 351 MB, free: 5.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.006336, allocations: 4 kB / 351 MB, free: 5.68 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.0003762/0.006712, allocations: 339.4 kB / 351.4 MB, free: 5.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.006749, allocations: 8.031 kB / 351.4 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.006796, allocations: 0.9375 kB / 351.4 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.303e-05/0.006849, allocations: 113.7 kB / 351.5 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.006862, allocations: 384 / 351.5 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.006872, allocations: 384 / 351.5 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.549e-05/0.006958, allocations: 55.97 kB / 351.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.006967, allocations: 192 / 351.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.006976, allocations: 4.375 kB / 351.5 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.006981, allocations: 7.938 kB / 351.5 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.372e-05/0.007005, allocations: 29.7 kB / 351.6 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.622e-05/0.007091, allocations: 97.33 kB / 351.7 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.007139, allocations: 52.23 kB / 351.7 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.007157, allocations: 30.56 kB / 351.7 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.007167, allocations: 0 / 351.7 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.007199, allocations: 60.33 kB / 351.8 MB, free: 4.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.0072, allocations: 0 / 351.8 MB, free: 4.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002046/0.007404, allocations: 118.8 kB / 351.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.007435, allocations: 81.05 kB / 352 MB, free: 4.512 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.352e-05/0.007458, allocations: 93.98 kB / 352.1 MB, free: 4.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.007466, allocations: 25.7 kB / 352.1 MB, free: 4.379 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.324e-05/0.007479, allocations: 88.08 kB / 352.2 MB, free: 4.289 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.007496, allocations: 0 / 352.2 MB, free: 4.289 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.007519, allocations: 9.719 kB / 352.2 MB, free: 4.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.007572, allocations: 318.8 kB / 352.5 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.373e-05/0.007606, allocations: 25.7 kB / 352.5 MB, free: 3.922 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.225e-05/0.007618, allocations: 29.69 kB / 352.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.122e-05/0.007659, allocations: 60.27 kB / 352.6 MB, free: 3.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007662, allocations: 0 / 352.6 MB, free: 3.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.628e-05/0.007728, allocations: 97.11 kB / 352.7 MB, free: 3.699 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.007763, allocations: 37.69 kB / 352.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.007769, allocations: 0 / 352.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.00779, allocations: 0 / 352.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.007792, allocations: 3.938 kB / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.007798, allocations: 3.938 kB / 352.8 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.007813, allocations: 3.953 kB / 352.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.00782, allocations: 0 / 352.8 MB, free: 3.645 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.586e-05/0.007876, allocations: 135.5 kB / 352.9 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.007885, allocations: 8.031 kB / 352.9 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.018e-05/0.007895, allocations: 3 kB / 352.9 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.007897, allocations: 3.984 kB / 352.9 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.007901, allocations: 0 / 352.9 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.007904, allocations: 3.938 kB / 352.9 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.825e-05/0.007952, allocations: 93.33 kB / 353 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.007953, allocations: 4 kB / 353 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.007953, allocations: 0 / 353 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.007954, allocations: 0 / 353 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.007962, allocations: 4 kB / 353 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.007962, allocations: 0 / 353 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007963, allocations: 4 kB / 353 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.212e-05/0.008045, allocations: 124.4 kB / 353.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-06/0.008051, allocations: 8 kB / 353.2 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.008064, allocations: 0 / 353.2 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-06/0.008073, allocations: 4 kB / 353.2 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.008095, allocations: 3.984 kB / 353.2 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.008098, allocations: 4 kB / 353.2 MB, free: 3.172 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.881e-05/0.008116, allocations: 79.22 kB / 353.2 MB, free: 3.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008116, allocations: 0 / 353.2 MB, free: 3.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004141/0.008531, allocations: 123.6 kB / 353.4 MB, free: 2.973 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.0007366/0.009267, allocations: 329.2 kB / 353.7 MB, free: 2.652 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.009371, allocations: 114.8 kB / 353.8 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.009373, allocations: 0 / 353.8 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-05/0.0094, allocations: 81.17 kB / 353.9 MB, free: 2.418 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.00956, allocations: 8 kB / 353.9 MB, free: 2.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002191/0.009779, allocations: 112.8 kB / 354 MB, free: 2.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.98e-05/0.009818, allocations: 55.36 kB / 354.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.69e-06/0.009824, allocations: 0 / 354.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/0.009838, allocations: 8.5 kB / 354.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009838, allocations: 0 / 354.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of Templates: time 0.007028/0.01687, allocations: 3.395 MB / 357.5 MB, free: 14.8 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=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.215673145954497]