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.0009292/0.0009292, allocations: 80.05 kB / 20.72 MB, free: 3.758 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.0009779/0.0009779, allocations: 173 kB / 24.14 MB, free: 348 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.8726/0.8726, allocations: 158.6 MB / 186 MB, free: 2.762 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.2139/0.2139, allocations: 32.38 MB / 270.7 MB, free: 14.58 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.193e-06/1.193e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.225e-05, allocations: 2.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001103/0.001116, allocations: 0.5131 MB / 299.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1294/0.1305, allocations: 1.988 MB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.1305, allocations: 0 / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.223e-05/0.1306, allocations: 0 / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.603e-06/0.1306, allocations: 1.25 kB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.1322, allocations: 0.4966 MB / 302.1 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.792e-05/0.1322, allocations: 5.203 kB / 302.1 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.525e-05/0.1323, allocations: 1.875 kB / 302.1 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.981e-05/0.1323, allocations: 2.734 kB / 302.1 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.712e-05/0.1323, allocations: 3.594 kB / 302.1 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.224e-06/0.1323, allocations: 1.281 kB / 302.1 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009918/0.1333, allocations: 0.626 MB / 302.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.756e-06/0.1333, allocations: 0.6875 kB / 302.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.421e-05/0.1334, allocations: 1.766 kB / 302.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007025/0.1341, allocations: 457.7 kB / 303.2 MB, free: 19.19 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1341, allocations: 8.938 kB / 303.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1341, allocations: 0 / 303.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.1341, allocations: 0 / 303.2 MB, free: 19.18 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.003447/0.1375, allocations: 309.9 kB / 303.5 MB, free: 18.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1375, allocations: 10.75 kB / 303.5 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.1376, allocations: 3.031 kB / 303.5 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.368e-05/0.1376, allocations: 107.5 kB / 303.6 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1376, allocations: 384 / 303.6 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.1376, allocations: 1.781 kB / 303.6 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.521e-05/0.1377, allocations: 59.31 kB / 303.6 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1377, allocations: 192 / 303.6 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-06/0.1377, allocations: 1.656 kB / 303.6 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.1377, allocations: 3.938 kB / 303.7 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.082e-05/0.1377, allocations: 28.81 kB / 303.7 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.381e-05/0.1378, allocations: 59.97 kB / 303.7 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.538e-05/0.1378, allocations: 44.12 kB / 303.8 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.251e-05/0.1378, allocations: 36.61 kB / 303.8 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-06/0.1378, allocations: 0 / 303.8 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1379, allocations: 59.94 kB / 303.9 MB, free: 18.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1379, allocations: 0 / 303.9 MB, free: 18.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.386e-05/0.138, allocations: 118.1 kB / 304 MB, free: 18.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.138, allocations: 78.94 kB / 304.1 MB, free: 18.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.89e-05/0.138, allocations: 94.81 kB / 304.2 MB, free: 18.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-06/0.138, allocations: 29.64 kB / 304.2 MB, free: 18.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.274e-06/0.138, allocations: 80.14 kB / 304.3 MB, free: 17.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.138, allocations: 2.594 kB / 304.3 MB, free: 17.99 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.1381, allocations: 16.7 kB / 304.3 MB, free: 17.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.622e-05/0.1381, allocations: 316.4 kB / 304.6 MB, free: 17.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.1381, allocations: 28.31 kB / 304.6 MB, free: 17.63 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-06/0.1381, allocations: 29.02 kB / 304.7 MB, free: 17.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/0.1381, allocations: 60.55 kB / 304.7 MB, free: 17.53 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1381, allocations: 1.156 kB / 304.7 MB, free: 17.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.765e-05/0.1382, allocations: 87.75 kB / 304.8 MB, free: 17.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.1382, allocations: 36.12 kB / 304.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1382, allocations: 3.031 kB / 304.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1382, allocations: 0 / 304.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.288e-06/0.1382, allocations: 0 / 304.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.1382, allocations: 2.031 kB / 304.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.362e-05/0.1382, allocations: 0 / 304.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1382, allocations: 1.406 kB / 304.8 MB, free: 17.39 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 3.747e-05/0.1383, allocations: 142 kB / 305 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.1383, allocations: 2.719 kB / 305 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.061e-05/0.1383, allocations: 4.062 kB / 305 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1383, allocations: 4.516 kB / 305 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.1383, allocations: 1 kB / 305 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1383, allocations: 0.6094 kB / 305 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.296e-05/0.1384, allocations: 68.59 kB / 305.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.1384, allocations: 0 / 305.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-06/0.1384, allocations: 1.781 kB / 305.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1384, allocations: 0.5156 kB / 305.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.1384, allocations: 1.188 kB / 305.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1384, allocations: 0.75 kB / 305.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1384, allocations: 1.438 kB / 305.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.302e-05/0.1384, allocations: 122 kB / 305.2 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-06/0.1384, allocations: 4.234 kB / 305.2 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.1384, allocations: 1.094 kB / 305.2 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-06/0.1384, allocations: 1.75 kB / 305.2 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-06/0.1385, allocations: 0 / 305.2 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.1385, allocations: 1.781 kB / 305.2 MB, free: 17.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.611e-06/0.1385, allocations: 9.828 kB / 305.2 MB, free: 17.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1385, allocations: 0 / 305.2 MB, free: 17.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004584/0.1389, allocations: 119.8 kB / 305.3 MB, free: 16.99 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.000663/0.1396, allocations: 316.7 kB / 305.6 MB, free: 16.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.74e-05/0.1397, allocations: 119.2 kB / 305.7 MB, free: 16.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1397, allocations: 0.625 kB / 305.7 MB, free: 16.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.1397, allocations: 94.69 kB / 305.8 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.879e-05/0.1397, allocations: 11.41 kB / 305.8 MB, free: 16.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001245/0.1399, allocations: 114.3 kB / 306 MB, free: 16.53 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.712e-05/0.1399, allocations: 54.16 kB / 306 MB, free: 16.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.23e-06/0.1399, allocations: 0 / 306 MB, free: 16.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.1399, allocations: 52.69 kB / 306.1 MB, free: 16.41 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1399, allocations: 0 / 306.1 MB, free: 16.41 MB / 282.7 MB Notification: Performance of Templates: time 0.01328/0.1532, allocations: 3.769 MB / 309.8 MB, free: 15.69 MB / 282.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.1741873589344323]