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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009634/0.0009637, allocations: 102.3 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3352/0.3352, allocations: 43.48 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 51.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1096, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001745/0.1114, allocations: 0.5735 MB / 487.6 MB, free: 11.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002757/0.1142, allocations: 2.105 MB / 489.7 MB, free: 9.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.042e-05/0.1143, allocations: 0 / 489.7 MB, free: 9.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.1143, allocations: 4 kB / 489.7 MB, free: 9.836 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.418e-06/0.1143, allocations: 0 / 489.7 MB, free: 9.836 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1155, allocations: 411 kB / 490.1 MB, free: 9.434 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.902e-05/0.1155, allocations: 0 / 490.1 MB, free: 9.434 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.1156, allocations: 0 / 490.1 MB, free: 9.434 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.471e-05/0.1156, allocations: 0 / 490.1 MB, free: 9.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.426e-05/0.1156, allocations: 4 kB / 490.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.982e-06/0.1156, allocations: 0 / 490.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.1167, allocations: 0.6748 MB / 490.8 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-06/0.1167, allocations: 0 / 490.8 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.1167, allocations: 0 / 490.8 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006532/0.1174, allocations: 399.1 kB / 491.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1174, allocations: 0 / 491.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1174, allocations: 0 / 491.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.1174, allocations: 0 / 491.2 MB, free: 8.363 MB / 378.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.0004153/0.1178, allocations: 409.3 kB / 491.6 MB, free: 7.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1179, allocations: 12.03 kB / 491.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.1179, allocations: 0.9375 kB / 491.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.459e-05/0.118, allocations: 160.4 kB / 491.7 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.118, allocations: 4.375 kB / 491.7 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.118, allocations: 4.359 kB / 491.7 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.554e-05/0.1181, allocations: 34.02 kB / 491.8 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1181, allocations: 0 / 491.8 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.1181, allocations: 0 / 491.8 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1181, allocations: 0 / 491.8 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.1182, allocations: 7.938 kB / 491.8 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.1183, allocations: 153.6 kB / 491.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.714e-05/0.1183, allocations: 18.58 kB / 491.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.1183, allocations: 8.953 kB / 492 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-06/0.1184, allocations: 0 / 492 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.1184, allocations: 64.2 kB / 492 MB, free: 7.332 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.1184, allocations: 0 / 492 MB, free: 7.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001745/0.1186, allocations: 71.23 kB / 492.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.1186, allocations: 77.11 kB / 492.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.331e-05/0.1187, allocations: 89.98 kB / 492.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.1187, allocations: 29.7 kB / 492.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.043e-05/0.1187, allocations: 84.08 kB / 492.4 MB, free: 6.938 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.1187, allocations: 4 kB / 492.4 MB, free: 6.934 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.1188, allocations: 13.72 kB / 492.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1189, allocations: 314.8 kB / 492.7 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.1189, allocations: 4 kB / 492.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-06/0.1189, allocations: 0 / 492.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.792e-05/0.119, allocations: 64.33 kB / 492.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.119, allocations: 0 / 492.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.535e-05/0.1191, allocations: 67.34 kB / 492.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.1191, allocations: 37.62 kB / 492.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1191, allocations: 0 / 492.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1191, allocations: 0 / 492.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.1191, allocations: 0 / 492.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1192, allocations: 0 / 492.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.1192, allocations: 4 kB / 492.9 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1192, allocations: 0 / 492.9 MB, free: 6.391 MB / 378.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 7.853e-05/0.1193, allocations: 135.6 kB / 493 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.1193, allocations: 7.938 kB / 493 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.065e-05/0.1193, allocations: 3.125 kB / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1193, allocations: 0 / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1193, allocations: 0 / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1193, allocations: 3.984 kB / 493 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.058e-05/0.1194, allocations: 145.7 kB / 493.1 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1194, allocations: 4 kB / 493.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.1194, allocations: 0 / 493.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.1194, allocations: 7.938 kB / 493.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1195, allocations: 3.938 kB / 493.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1195, allocations: 0 / 493.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1195, allocations: 0 / 493.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.1198, allocations: 0.6413 MB / 493.8 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.1198, allocations: 77.11 kB / 493.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.1199, allocations: 8.031 kB / 493.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-06/0.1199, allocations: 0 / 493.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.1199, allocations: 3.938 kB / 493.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.1199, allocations: 0 / 493.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.465e-05/0.1199, allocations: 75.28 kB / 494 MB, free: 5.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1199, allocations: 0 / 494 MB, free: 5.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005177/0.1205, allocations: 124 kB / 494.1 MB, free: 5.012 MB / 378.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.0007458/0.1212, allocations: 314.7 kB / 494.4 MB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.215e-05/0.1213, allocations: 67.33 kB / 494.5 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1213, allocations: 0 / 494.5 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.921e-05/0.1213, allocations: 55.41 kB / 494.5 MB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.1215, allocations: 8.125 kB / 494.5 MB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.1217, allocations: 177.4 kB / 494.7 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.1219, allocations: 0.6692 MB / 495.4 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.66e-06/0.1219, allocations: 0 / 495.4 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.778e-06/0.1219, allocations: 11.44 kB / 495.4 MB, free: 3.629 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1219, allocations: 3.938 kB / 495.4 MB, free: 3.625 MB / 378.7 MB Notification: Performance of Templates: time 0.006529/0.1285, allocations: 3.375 MB / 498.8 MB, free: 252 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches