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.001542/0.001542, allocations: 106.6 kB / 17.03 MB, free: 6.129 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.001708/0.001708, allocations: 194.9 kB / 17.96 MB, free: 5.215 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.363/1.363, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2179/0.2179, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 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.001922/0.001922, allocations: 74.66 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1164, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.002165/0.1186, allocations: 0.4986 MB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.1215, allocations: 2.021 MB / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.768e-05/0.1215, allocations: 0 / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.1216, allocations: 0 / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.142e-06/0.1216, allocations: 4 kB / 444.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.1232, allocations: 498.4 kB / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.403e-05/0.1233, allocations: 4 kB / 445 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.1234, allocations: 8 kB / 445 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.516e-05/0.1234, allocations: 0 / 445 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.891e-05/0.1234, allocations: 7.938 kB / 445 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.745e-06/0.1234, allocations: 0 / 445 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009867/0.1244, allocations: 0.62 MB / 445.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.325e-06/0.1244, allocations: 4 kB / 445.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.1245, allocations: 0 / 445.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005753/0.125, allocations: 387.2 kB / 446 MB, free: 2.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.1251, allocations: 0 / 446 MB, free: 2.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1251, allocations: 0 / 446 MB, free: 2.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1251, allocations: 0 / 446 MB, free: 2.094 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.0004418/0.1255, allocations: 409.2 kB / 446.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.1256, allocations: 15.89 kB / 446.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.1256, allocations: 4.844 kB / 446.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.394e-05/0.1257, allocations: 160.4 kB / 446.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.1257, allocations: 384 / 446.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.1258, allocations: 4.375 kB / 446.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1259, allocations: 45.88 kB / 446.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1259, allocations: 0 / 446.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1259, allocations: 0 / 446.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.126, allocations: 0 / 446.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.513e-05/0.126, allocations: 0 / 446.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.1261, allocations: 149.7 kB / 446.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.799e-05/0.1262, allocations: 14.58 kB / 446.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.1262, allocations: 16.94 kB / 446.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.1262, allocations: 0 / 446.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/0.1263, allocations: 68.12 kB / 446.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1263, allocations: 0 / 446.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002067/0.1265, allocations: 63.41 kB / 446.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.1265, allocations: 81.09 kB / 447 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.288e-05/0.1266, allocations: 89.86 kB / 447.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.1266, allocations: 29.83 kB / 447.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.424e-05/0.1266, allocations: 80.14 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.1266, allocations: 4 kB / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.1267, allocations: 9.719 kB / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.467e-05/0.1267, allocations: 314.8 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.1268, allocations: 4 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-06/0.1268, allocations: 0 / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/0.1268, allocations: 68.27 kB / 447.6 MB, free: 248 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1268, allocations: 3.938 kB / 447.6 MB, free: 244 kB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.598e-05/0.1269, allocations: 63.39 kB / 447.7 MB, free: 168 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.1269, allocations: 33.64 kB / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1269, allocations: 0 / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.127, allocations: 0 / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.127, allocations: 0 / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.127, allocations: 0 / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.127, allocations: 4 kB / 447.7 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.127, allocations: 0 / 447.7 MB, free: 124 kB / 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 9.537e-05/0.1271, allocations: 144 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.1271, allocations: 7.938 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.196e-05/0.1271, allocations: 3.125 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/0.1272, allocations: 0 / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1272, allocations: 0 / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1272, allocations: 0 / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.1273, allocations: 145.7 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1273, allocations: 7.938 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-06/0.1273, allocations: 4 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1273, allocations: 3.938 kB / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1273, allocations: 4 kB / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1273, allocations: 3.938 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1274, allocations: 0 / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.1275, allocations: 90.77 kB / 448.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.1275, allocations: 77.11 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1275, allocations: 3.938 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.082e-05/0.1276, allocations: 4 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.1276, allocations: 4.031 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.1276, allocations: 0 / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.101e-05/0.1276, allocations: 79.28 kB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1276, allocations: 0 / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004193/0.1281, allocations: 120 kB / 448.4 MB, free: 15.32 MB / 334.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.0008064/0.1289, allocations: 310.7 kB / 448.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.129, allocations: 67.34 kB / 448.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.129, allocations: 0 / 448.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.238e-05/0.1291, allocations: 59.39 kB / 448.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.1292, allocations: 2.969 kB / 448.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.1295, allocations: 77.2 kB / 448.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.1298, allocations: 0.669 MB / 449.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.724e-06/0.1299, allocations: 0 / 449.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.1299, allocations: 11.44 kB / 449.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of SimCode: time 1.392e-06/0.1299, allocations: 0 / 449.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of Templates: time 0.00749/0.1374, allocations: 3.382 MB / 452.9 MB, free: 10.68 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins1/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