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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 92.97 kB / 20.21 MB, free: 4.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2327/0.2327, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.186e-05, allocations: 2.312 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001877/0.001909, allocations: 0.516 MB / 347.4 MB, free: 9.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003533/0.005441, allocations: 1.958 MB / 349.4 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.005463, allocations: 0 / 349.4 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.005482, allocations: 4 kB / 349.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.965e-06/0.00549, allocations: 0 / 349.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.007539, allocations: 0.4945 MB / 349.9 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.674e-05/0.007596, allocations: 0 / 349.9 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.007639, allocations: 8 kB / 349.9 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.617e-05/0.007685, allocations: 3.938 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.266e-05/0.007707, allocations: 0 / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.007717, allocations: 0 / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.008956, allocations: 0.6588 MB / 350.6 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.008967, allocations: 0 / 350.6 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.008993, allocations: 4 kB / 350.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007674/0.009761, allocations: 474.8 kB / 351 MB, free: 5.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.009765, allocations: 3.938 kB / 351 MB, free: 5.664 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.009766, allocations: 0 / 351 MB, free: 5.664 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.009772, allocations: 4 kB / 351.1 MB, free: 5.66 MB / 282.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.0004396/0.01021, allocations: 441.4 kB / 351.5 MB, free: 5.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.01026, allocations: 8.031 kB / 351.5 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.01031, allocations: 4.938 kB / 351.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.606e-05/0.01036, allocations: 108.6 kB / 351.6 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.01038, allocations: 4.375 kB / 351.6 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.01039, allocations: 384 / 351.6 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.537e-05/0.01048, allocations: 59.95 kB / 351.7 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.0105, allocations: 192 / 351.7 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.0105, allocations: 384 / 351.7 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.01051, allocations: 3.938 kB / 351.7 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.722e-05/0.01054, allocations: 33.7 kB / 351.7 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.01065, allocations: 112.6 kB / 351.8 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7e-05/0.01072, allocations: 52.8 kB / 351.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.01074, allocations: 33.39 kB / 351.9 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.01075, allocations: 0 / 351.9 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.01078, allocations: 67.14 kB / 352 MB, free: 4.586 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.01079, allocations: 0 / 352 MB, free: 4.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002243/0.01101, allocations: 118.8 kB / 352.1 MB, free: 4.445 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.01104, allocations: 89.03 kB / 352.2 MB, free: 4.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.552e-05/0.01108, allocations: 142.2 kB / 352.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.01109, allocations: 29.83 kB / 352.3 MB, free: 4.152 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.944e-05/0.01111, allocations: 126.9 kB / 352.5 MB, free: 4.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.01113, allocations: 0 / 352.5 MB, free: 4.023 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.01116, allocations: 23.38 kB / 352.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.602e-05/0.01125, allocations: 492.1 kB / 353 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.01127, allocations: 25.7 kB / 353 MB, free: 3.469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.568e-05/0.01128, allocations: 29.7 kB / 353 MB, free: 3.434 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.037e-05/0.01133, allocations: 67.08 kB / 353.1 MB, free: 3.352 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01133, allocations: 0 / 353.1 MB, free: 3.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.679e-05/0.01141, allocations: 97.11 kB / 353.2 MB, free: 3.238 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.01144, allocations: 33.64 kB / 353.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.01145, allocations: 0 / 353.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.01147, allocations: 0 / 353.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/0.01147, allocations: 0 / 353.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.01148, allocations: 11.92 kB / 353.2 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.0115, allocations: 3.953 kB / 353.2 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.01151, allocations: 0 / 353.2 MB, free: 3.184 MB / 282.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 6.808e-05/0.01158, allocations: 182.3 kB / 353.4 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.01159, allocations: 0 / 353.4 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.19e-05/0.0116, allocations: 11.03 kB / 353.4 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.0116, allocations: 0 / 353.4 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01161, allocations: 0 / 353.4 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01161, allocations: 7.938 kB / 353.4 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.558e-05/0.01167, allocations: 112.6 kB / 353.5 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01167, allocations: 0 / 353.5 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-06/0.01167, allocations: 0 / 353.5 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01167, allocations: 0 / 353.5 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.01168, allocations: 4 kB / 353.5 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01168, allocations: 0 / 353.5 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01168, allocations: 0 / 353.5 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.01179, allocations: 139.7 kB / 353.7 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-06/0.01179, allocations: 0 / 353.7 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.01181, allocations: 11.98 kB / 353.7 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.196e-05/0.01182, allocations: 0 / 353.7 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.01184, allocations: 0 / 353.7 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.01184, allocations: 0 / 353.7 MB, free: 2.637 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.522e-05/0.01187, allocations: 123.1 kB / 353.8 MB, free: 2.516 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01187, allocations: 4 kB / 353.8 MB, free: 2.512 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000563/0.01243, allocations: 127.6 kB / 353.9 MB, free: 2.387 MB / 282.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.001005/0.01344, allocations: 327.6 kB / 354.2 MB, free: 2.066 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.01356, allocations: 118.5 kB / 354.4 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.01357, allocations: 4 kB / 354.4 MB, free: 1.918 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/0.0136, allocations: 96.78 kB / 354.5 MB, free: 1.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.01379, allocations: 4 kB / 354.5 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.01406, allocations: 110.5 kB / 354.6 MB, free: 1.656 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.223e-05/0.0141, allocations: 59.34 kB / 354.6 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.784e-06/0.01411, allocations: 0 / 354.6 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.01413, allocations: 8.5 kB / 354.6 MB, free: 1.57 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01413, allocations: 0 / 354.6 MB, free: 1.57 MB / 282.7 MB Notification: Performance of Templates: time 0.01026/0.02439, allocations: 3.414 MB / 358.1 MB, free: 14.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.17072160798125]