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.0009656/0.0009656, allocations: 96.2 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 175.5 kB / 16.56 MB, free: 6.379 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.452/1.452, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3185/0.3185, allocations: 43.55 MB / 314.5 MB, free: 9.098 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.0005069/0.0005071, allocations: 12 kB / 383.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1239, allocations: 58.86 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.0006294/0.1245, allocations: 236.4 kB / 443 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.1271, allocations: 1.925 MB / 444.9 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.756e-05/0.1271, allocations: 4 kB / 444.9 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.1272, allocations: 4 kB / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.1272, allocations: 0 / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.1284, allocations: 391.1 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.81e-05/0.1285, allocations: 0 / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.1285, allocations: 0 / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.598e-05/0.1285, allocations: 0 / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.785e-05/0.1285, allocations: 0 / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.103e-06/0.1286, allocations: 0 / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008671/0.1294, allocations: 0.6475 MB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.37e-06/0.1294, allocations: 0 / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.1295, allocations: 25.7 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.1298, allocations: 243.6 kB / 446.2 MB, free: 9.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.1299, allocations: 0 / 446.2 MB, free: 9.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1299, allocations: 3.938 kB / 446.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1299, allocations: 0 / 446.2 MB, free: 9.82 MB / 382.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.0003678/0.1302, allocations: 409 kB / 446.6 MB, free: 9.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1303, allocations: 8.031 kB / 446.6 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.1303, allocations: 3.953 kB / 446.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.408e-05/0.1304, allocations: 167 kB / 446.8 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1305, allocations: 0 / 446.8 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.1305, allocations: 4 kB / 446.8 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.323e-05/0.1306, allocations: 29.7 kB / 446.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1306, allocations: 0 / 446.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-06/0.1306, allocations: 0 / 446.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1306, allocations: 0 / 446.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.1306, allocations: 7.953 kB / 446.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.1308, allocations: 145.7 kB / 447 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.987e-05/0.1308, allocations: 26.61 kB / 447 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.1308, allocations: 4 kB / 447 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.1309, allocations: 56.27 kB / 447 MB, free: 8.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.1309, allocations: 0 / 447 MB, free: 8.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001778/0.1311, allocations: 67.3 kB / 447.1 MB, free: 8.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.1311, allocations: 77.11 kB / 447.2 MB, free: 8.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.182e-05/0.1312, allocations: 93.86 kB / 447.3 MB, free: 8.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.1312, allocations: 25.7 kB / 447.3 MB, free: 8.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.1312, allocations: 84.27 kB / 447.4 MB, free: 8.414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.1312, allocations: 4 kB / 447.4 MB, free: 8.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.1313, allocations: 0 / 447.4 MB, free: 8.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1314, allocations: 318.7 kB / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.1314, allocations: 0 / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-06/0.1314, allocations: 0 / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.805e-05/0.1314, allocations: 29.7 kB / 447.7 MB, free: 8.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1314, allocations: 0 / 447.7 MB, free: 8.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.681e-05/0.1315, allocations: 71.45 kB / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.1315, allocations: 29.7 kB / 447.8 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1315, allocations: 3.938 kB / 447.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1316, allocations: 0 / 447.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.1316, allocations: 0 / 447.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.1316, allocations: 0 / 447.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.1316, allocations: 4 kB / 447.8 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1316, allocations: 0 / 447.8 MB, free: 7.93 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.167e-05/0.1317, allocations: 143.5 kB / 448 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.1317, allocations: 4 kB / 448 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.109e-05/0.1317, allocations: 7.156 kB / 448 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1317, allocations: 0 / 448 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1318, allocations: 7.875 kB / 448 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1318, allocations: 3.984 kB / 448 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.435e-05/0.1319, allocations: 145.9 kB / 448.1 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1319, allocations: 7.984 kB / 448.2 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1319, allocations: 0 / 448.2 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1319, allocations: 4 kB / 448.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1319, allocations: 0 / 448.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1319, allocations: 0 / 448.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1319, allocations: 4 kB / 448.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.437e-05/0.132, allocations: 98.77 kB / 448.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.1321, allocations: 77.11 kB / 448.3 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.1321, allocations: 0 / 448.3 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.143e-05/0.1321, allocations: 8 kB / 448.3 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.1321, allocations: 0 / 448.3 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.1321, allocations: 0 / 448.3 MB, free: 7.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.023e-05/0.1322, allocations: 79.31 kB / 448.4 MB, free: 7.242 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1322, allocations: 0 / 448.4 MB, free: 7.242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003612/0.1325, allocations: 127.9 kB / 448.5 MB, free: 7.117 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007901/0.1333, allocations: 306 kB / 448.8 MB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.1335, allocations: 63.41 kB / 448.9 MB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1335, allocations: 0 / 448.9 MB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.518e-05/0.1335, allocations: 55.39 kB / 449 MB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.436e-05/0.1336, allocations: 7.953 kB / 449 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.1338, allocations: 70.77 kB / 449 MB, free: 6.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.1341, allocations: 0.677 MB / 449.7 MB, free: 5.871 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.173e-06/0.1341, allocations: 4.125 kB / 449.7 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-06/0.1342, allocations: 7.438 kB / 449.7 MB, free: 5.863 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1342, allocations: 4 kB / 449.7 MB, free: 5.859 MB / 382.1 MB Notification: Performance of Templates: time 0.006256/0.1404, allocations: 3.432 MB / 453.2 MB, free: 2.422 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches