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.0008436/0.0008436, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.0009302/0.0009302, allocations: 165.7 kB / 24.84 MB, free: 8.711 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.9328/0.9328, allocations: 158.6 MB / 186.7 MB, free: 2.793 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.1622/0.1622, allocations: 32.37 MB / 271.5 MB, free: 14.41 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.312e-06/1.312e-06, allocations: 0 / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.478e-05, allocations: 2.312 kB / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.0009319/0.0009467, allocations: 0.5275 MB / 349.4 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.002863, allocations: 1.958 MB / 351.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.002884, allocations: 0 / 351.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.002904, allocations: 4 kB / 351.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.444e-06/0.002911, allocations: 0 / 351.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009976/0.003909, allocations: 0.5023 MB / 351.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.277e-05/0.003962, allocations: 0 / 351.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.004001, allocations: 3.984 kB / 351.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.004029, allocations: 4 kB / 351.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.117e-05/0.00405, allocations: 0 / 351.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.004059, allocations: 0 / 351.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.004627, allocations: 0.6276 MB / 352.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.847e-06/0.004635, allocations: 0 / 352.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.004651, allocations: 3.984 kB / 352.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.005035, allocations: 454.8 kB / 353 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.005037, allocations: 0 / 353 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005038, allocations: 0 / 353 MB, free: 5.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005042, allocations: 4 kB / 353 MB, free: 5.066 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.0002828/0.005325, allocations: 437.4 kB / 353.4 MB, free: 4.598 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.005356, allocations: 12.03 kB / 353.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.005382, allocations: 0.9375 kB / 353.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.449e-05/0.005427, allocations: 112.6 kB / 353.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.00544, allocations: 384 / 353.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.005447, allocations: 4.375 kB / 353.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.192e-05/0.005519, allocations: 51.97 kB / 353.6 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.005527, allocations: 192 / 353.6 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.005534, allocations: 4.375 kB / 353.6 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.005541, allocations: 7.875 kB / 353.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.5e-05/0.005556, allocations: 33.7 kB / 353.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.987e-05/0.005626, allocations: 93.27 kB / 353.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.158e-05/0.005668, allocations: 56.69 kB / 353.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.005683, allocations: 37.48 kB / 353.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-06/0.005688, allocations: 3.984 kB / 353.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.005717, allocations: 63.08 kB / 353.9 MB, free: 4.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.005718, allocations: 0 / 353.9 MB, free: 4.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001583/0.005876, allocations: 122.7 kB / 354 MB, free: 3.867 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.005908, allocations: 81.11 kB / 354.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.07e-05/0.005939, allocations: 146.4 kB / 354.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.353e-06/0.005947, allocations: 25.7 kB / 354.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.042e-05/0.005967, allocations: 126.9 kB / 354.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.005984, allocations: 352 / 354.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.006007, allocations: 19.38 kB / 354.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.006081, allocations: 496.1 kB / 354.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/0.006092, allocations: 25.7 kB / 354.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.006103, allocations: 33.69 kB / 354.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.792e-05/0.00614, allocations: 63.09 kB / 355 MB, free: 2.781 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.006142, allocations: 0 / 355 MB, free: 2.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.449e-05/0.006187, allocations: 105.1 kB / 355.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.006209, allocations: 33.69 kB / 355.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.006213, allocations: 0 / 355.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.006223, allocations: 0 / 355.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.006224, allocations: 0 / 355.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.006237, allocations: 0 / 355.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.006256, allocations: 7.938 kB / 355.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.006266, allocations: 0 / 355.1 MB, free: 2.613 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 6.593e-05/0.006332, allocations: 178.3 kB / 355.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-06/0.006337, allocations: 4 kB / 355.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.067e-05/0.006348, allocations: 7.031 kB / 355.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.006349, allocations: 0 / 355.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.006351, allocations: 0 / 355.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.006356, allocations: 3.984 kB / 355.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.612e-05/0.006402, allocations: 101.2 kB / 355.4 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006403, allocations: 0 / 355.4 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.4e-07/0.006404, allocations: 3.938 kB / 355.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.71e-07/0.006404, allocations: 0 / 355.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-06/0.006409, allocations: 3.984 kB / 355.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.006409, allocations: 0 / 355.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.006411, allocations: 4 kB / 355.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.411e-05/0.006475, allocations: 139.7 kB / 355.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-06/0.006479, allocations: 0 / 355.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.006491, allocations: 0 / 355.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-06/0.006495, allocations: 4 kB / 355.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.021e-05/0.006506, allocations: 0 / 355.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-06/0.006507, allocations: 0 / 355.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.543e-05/0.006522, allocations: 119.2 kB / 355.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006522, allocations: 0 / 355.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.006737, allocations: 127.6 kB / 355.8 MB, free: 1.852 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.0004548/0.007192, allocations: 326.6 kB / 356.1 MB, free: 1.531 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.532e-05/0.007277, allocations: 118.5 kB / 356.3 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007278, allocations: 0 / 356.3 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.941e-05/0.007298, allocations: 104.8 kB / 356.4 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.637e-05/0.007384, allocations: 3.938 kB / 356.4 MB, free: 1.258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000109/0.007493, allocations: 114.5 kB / 356.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.614e-05/0.007509, allocations: 59.34 kB / 356.5 MB, free: 1.035 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.098e-06/0.007513, allocations: 0 / 356.5 MB, free: 1.035 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.007534, allocations: 70.2 kB / 356.6 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of SimCode: time 3.6e-07/0.007535, allocations: 3.938 kB / 356.6 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of Templates: time 0.004835/0.01237, allocations: 3.769 MB / 360.4 MB, free: 13.2 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.3364536142908037]