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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001712, allocations: 106 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 190.8 kB / 17.2 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2451/0.2451, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.19 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1385, allocations: 57.79 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.00199/0.1406, allocations: 0.4936 MB / 441 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.143, allocations: 2.029 MB / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.1431, allocations: 0 / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.1431, allocations: 4 kB / 443 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.454e-06/0.1431, allocations: 0 / 443 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.1445, allocations: 0.4947 MB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.914e-05/0.1445, allocations: 0 / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.843e-05/0.1446, allocations: 4 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.184e-05/0.1446, allocations: 0 / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.998e-05/0.1446, allocations: 3.938 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.565e-06/0.1447, allocations: 4 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008399/0.1455, allocations: 0.6204 MB / 444.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.1455, allocations: 0 / 444.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.1455, allocations: 0 / 444.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000466/0.146, allocations: 387.3 kB / 444.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.146, allocations: 0 / 444.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.146, allocations: 0 / 444.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.1461, allocations: 0 / 444.5 MB, free: 2.867 MB / 318.1 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.0004078/0.1465, allocations: 405.2 kB / 444.9 MB, free: 2.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1465, allocations: 15.89 kB / 445 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.1466, allocations: 4.844 kB / 445 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.946e-05/0.1466, allocations: 164.3 kB / 445.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1466, allocations: 384 / 445.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.1467, allocations: 384 / 445.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.499e-05/0.1468, allocations: 42 kB / 445.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1468, allocations: 3.938 kB / 445.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1468, allocations: 0 / 445.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1468, allocations: 0 / 445.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.965e-05/0.1468, allocations: 4 kB / 445.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.1469, allocations: 145.7 kB / 445.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.855e-05/0.147, allocations: 22.5 kB / 445.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.147, allocations: 12.95 kB / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.147, allocations: 0 / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.147, allocations: 60.2 kB / 445.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.1471, allocations: 0 / 445.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.000177/0.1472, allocations: 63.41 kB / 445.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.1473, allocations: 81.09 kB / 445.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.531e-05/0.1473, allocations: 89.86 kB / 445.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.1473, allocations: 33.64 kB / 445.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.41e-05/0.1474, allocations: 84.27 kB / 445.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.1474, allocations: 3.984 kB / 445.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.1474, allocations: 9.719 kB / 445.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.1475, allocations: 318.8 kB / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/0.1475, allocations: 3.938 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-06/0.1475, allocations: 0 / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.1475, allocations: 60.27 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1475, allocations: 4.062 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.138e-05/0.1476, allocations: 63.39 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.1476, allocations: 33.64 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1476, allocations: 4 kB / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1477, allocations: 0 / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-06/0.1477, allocations: 3.938 kB / 446.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1477, allocations: 7.984 kB / 446.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.1477, allocations: 0 / 446.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1477, allocations: 0 / 446.3 MB, free: 0.8867 MB / 318.1 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.982e-05/0.1478, allocations: 152.6 kB / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/0.1478, allocations: 3.938 kB / 446.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.021e-05/0.1478, allocations: 3.125 kB / 446.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.1478, allocations: 0 / 446.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1478, allocations: 0 / 446.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1478, allocations: 0 / 446.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.843e-05/0.1479, allocations: 149.7 kB / 446.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.1479, allocations: 0 / 446.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1479, allocations: 0 / 446.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1479, allocations: 3.938 kB / 446.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1479, allocations: 0 / 446.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.1479, allocations: 4 kB / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1479, allocations: 3.938 kB / 446.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.587e-05/0.148, allocations: 90.83 kB / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.148, allocations: 77.11 kB / 446.7 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.148, allocations: 11.88 kB / 446.7 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-06/0.1481, allocations: 0 / 446.7 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.1481, allocations: 0 / 446.7 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.1481, allocations: 8.016 kB / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of sorting global known variables: time 1.327e-05/0.1481, allocations: 75.28 kB / 446.8 MB, free: 212 kB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1481, allocations: 0 / 446.8 MB, free: 212 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.1485, allocations: 128 kB / 446.9 MB, free: 84 kB / 318.1 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.0008236/0.1493, allocations: 294.4 kB / 447.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.602e-05/0.1494, allocations: 59.41 kB / 447.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1494, allocations: 0 / 447.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.549e-05/0.1494, allocations: 63.39 kB / 447.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.1496, allocations: 2.812 kB / 447.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001985/0.1498, allocations: 69.08 kB / 447.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.1501, allocations: 0.6807 MB / 448.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.34e-06/0.1501, allocations: 0 / 448.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.1501, allocations: 7.438 kB / 448.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1501, allocations: 0 / 448.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of Templates: time 0.006857/0.1569, allocations: 3.389 MB / 451.5 MB, free: 11.45 MB / 334.1 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/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) Reference file matches