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.001168/0.001168, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.395/1.395, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007324/0.0007326, allocations: 89.36 kB / 271.3 MB, free: 8.254 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.3458/0.3458, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003869, allocations: 16 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1178, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4132/0.531, allocations: 86.6 MB / 0.5645 GB, free: 15.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.5313, allocations: 67.97 kB / 0.5646 GB, free: 15.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6253/1.157, allocations: 37.5 MB / 0.6012 GB, free: 9.812 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.897e-06/1.157, allocations: 4 kB / 0.6012 GB, free: 9.809 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.657e-06/1.157, allocations: 0 / 0.6012 GB, free: 9.809 MB / 426.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.002853/1.16, allocations: 441 kB / 0.6016 GB, free: 9.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/1.16, allocations: 8.031 kB / 0.6016 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/1.16, allocations: 0.9375 kB / 0.6016 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/1.16, allocations: 164.4 kB / 0.6018 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/1.16, allocations: 1.438 kB / 0.6018 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/1.16, allocations: 384 / 0.6018 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/1.16, allocations: 34.2 kB / 0.6018 GB, free: 9.074 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/1.16, allocations: 8.172 kB / 0.6018 GB, free: 9.066 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/1.16, allocations: 3.938 kB / 0.6018 GB, free: 9.062 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.16, allocations: 0 / 0.6018 GB, free: 9.062 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.936e-05/1.16, allocations: 4 kB / 0.6018 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/1.16, allocations: 149.7 kB / 0.602 GB, free: 8.863 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.433e-05/1.16, allocations: 15.14 kB / 0.602 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/1.16, allocations: 8.953 kB / 0.602 GB, free: 8.828 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/1.16, allocations: 4 kB / 0.602 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/1.16, allocations: 56.27 kB / 0.6021 GB, free: 8.754 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/1.16, allocations: 3.938 kB / 0.6021 GB, free: 8.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002215/1.161, allocations: 72.27 kB / 0.6021 GB, free: 8.668 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/1.161, allocations: 77.11 kB / 0.6022 GB, free: 8.574 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.857e-05/1.161, allocations: 93.86 kB / 0.6023 GB, free: 8.473 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/1.161, allocations: 25.7 kB / 0.6023 GB, free: 8.441 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/1.161, allocations: 80.14 kB / 0.6024 GB, free: 8.359 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/1.161, allocations: 6.156 kB / 0.6024 GB, free: 8.355 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/1.161, allocations: 0 / 0.6024 GB, free: 8.355 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/1.161, allocations: 310.8 kB / 0.6027 GB, free: 8.043 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/1.161, allocations: 0 / 0.6027 GB, free: 8.043 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/1.161, allocations: 8 kB / 0.6027 GB, free: 8.035 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.04e-05/1.161, allocations: 68.12 kB / 0.6028 GB, free: 7.953 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.161, allocations: 4 kB / 0.6028 GB, free: 7.949 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.171e-05/1.161, allocations: 55.41 kB / 0.6028 GB, free: 7.883 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/1.161, allocations: 37.8 kB / 0.6029 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.161, allocations: 0.875 kB / 0.6029 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/1.161, allocations: 3.938 kB / 0.6029 GB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/1.161, allocations: 0 / 0.6029 GB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/1.161, allocations: 0 / 0.6029 GB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/1.161, allocations: 3.984 kB / 0.6029 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/1.161, allocations: 4 kB / 0.6029 GB, free: 7.828 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.709e-05/1.161, allocations: 138.8 kB / 0.603 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/1.162, allocations: 0 / 0.603 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.586e-05/1.162, allocations: 11.06 kB / 0.603 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.162, allocations: 4 kB / 0.603 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.162, allocations: 4 kB / 0.603 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/1.162, allocations: 0 / 0.603 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.765e-05/1.162, allocations: 145.7 kB / 0.6032 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.162, allocations: 0 / 0.6032 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-06/1.162, allocations: 0 / 0.6032 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.162, allocations: 3.938 kB / 0.6032 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/1.162, allocations: 7.938 kB / 0.6032 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.162, allocations: 0 / 0.6032 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.162, allocations: 0 / 0.6032 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/1.162, allocations: 98.81 kB / 0.6033 GB, free: 7.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/1.162, allocations: 77.11 kB / 0.6034 GB, free: 7.246 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/1.162, allocations: 3.938 kB / 0.6034 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.359e-05/1.162, allocations: 4 kB / 0.6034 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/1.162, allocations: 0 / 0.6034 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/1.162, allocations: 4 kB / 0.6034 GB, free: 7.234 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.927e-05/1.162, allocations: 79.31 kB / 0.6034 GB, free: 7.156 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.162, allocations: 0 / 0.6034 GB, free: 7.156 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004485/1.166, allocations: 1.312 MB / 0.6047 GB, free: 5.844 MB / 426.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 (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.007641/1.174, allocations: 1.2 MB / 0.6059 GB, free: 4.637 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/1.174, allocations: 63.34 kB / 0.606 GB, free: 4.562 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.174, allocations: 0 / 0.606 GB, free: 4.562 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/1.174, allocations: 56.16 kB / 0.606 GB, free: 4.496 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/1.175, allocations: 4 kB / 0.606 GB, free: 4.492 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/1.175, allocations: 73.5 kB / 0.6061 GB, free: 4.395 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/1.175, allocations: 0.681 MB / 0.6068 GB, free: 3.688 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.582e-06/1.175, allocations: 0 / 0.6068 GB, free: 3.688 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.509e-05/1.175, allocations: 7.438 kB / 0.6068 GB, free: 3.68 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/1.175, allocations: 3.938 kB / 0.6068 GB, free: 3.676 MB / 426.7 MB Notification: Performance of Templates: time 0.1017/1.277, allocations: 63.17 MB / 0.6684 GB, free: 4.422 MB / 490.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/jenkins1/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