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.001463/0.001463, allocations: 76.38 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001741/0.001741, allocations: 170.7 kB / 23.22 MB, free: 4.887 MB / 14.72 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.599/1.599, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 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.239/0.239, allocations: 32.38 MB / 269.6 MB, free: 4.652 MB / 254.1 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 1.863e-06/1.863e-06, allocations: 0 / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.57e-05, allocations: 2.281 kB / 407.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001706/0.001742, allocations: 0.499 MB / 407.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003905/0.005646, allocations: 1.94 MB / 409.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.263e-05/0.005669, allocations: 0 / 409.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.005688, allocations: 4 kB / 409.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.424e-06/0.005695, allocations: 0 / 409.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.007471, allocations: 0.5016 MB / 410.3 MB, free: 40 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.862e-05/0.00753, allocations: 7.969 kB / 410.3 MB, free: 32 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.007579, allocations: 0 / 410.3 MB, free: 32 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.006e-05/0.007609, allocations: 0 / 410.3 MB, free: 32 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.133e-05/0.00763, allocations: 4 kB / 410.3 MB, free: 28 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.00764, allocations: 0 / 410.3 MB, free: 28 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.008808, allocations: 0.6549 MB / 411 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.008818, allocations: 0 / 411 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.008843, allocations: 0 / 411 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007657/0.009609, allocations: 482.8 kB / 411.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.009617, allocations: 4 kB / 411.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.009618, allocations: 0 / 411.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.009625, allocations: 0 / 411.4 MB, free: 14.89 MB / 350.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.0005467/0.01017, allocations: 335.5 kB / 411.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.01022, allocations: 8.031 kB / 411.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.01027, allocations: 0.9375 kB / 411.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.01043, allocations: 113.8 kB / 411.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.01045, allocations: 4.375 kB / 411.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.01046, allocations: 384 / 411.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.01062, allocations: 55.91 kB / 412 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.01064, allocations: 4.188 kB / 412 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.01065, allocations: 384 / 412 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.01067, allocations: 3.938 kB / 412 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.073e-05/0.01071, allocations: 29.7 kB / 412 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.01087, allocations: 97.33 kB / 412.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.01098, allocations: 44.27 kB / 412.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.894e-05/0.01105, allocations: 38.66 kB / 412.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.01107, allocations: 0 / 412.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.088e-05/0.01115, allocations: 60.2 kB / 412.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.01115, allocations: 3.938 kB / 412.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002664/0.01141, allocations: 114.8 kB / 412.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.215e-05/0.0115, allocations: 89.05 kB / 412.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.01156, allocations: 89.98 kB / 412.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.01158, allocations: 29.7 kB / 412.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.01163, allocations: 80.14 kB / 412.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.01166, allocations: 3.953 kB / 412.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.01169, allocations: 13.72 kB / 412.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.01186, allocations: 310.8 kB / 412.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.01189, allocations: 29.69 kB / 413 MB, free: 13.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-05/0.01192, allocations: 33.7 kB / 413 MB, free: 13.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.01201, allocations: 64.2 kB / 413.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.01201, allocations: 0 / 413.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.933e-05/0.01211, allocations: 89.17 kB / 413.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/0.01216, allocations: 33.69 kB / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.01217, allocations: 0 / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.01219, allocations: 0 / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-06/0.01219, allocations: 4 kB / 413.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.0122, allocations: 3.938 kB / 413.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.01222, allocations: 4 kB / 413.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.01223, allocations: 4 kB / 413.2 MB, free: 12.86 MB / 350.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 0.0001151/0.01235, allocations: 135.5 kB / 413.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.01235, allocations: 3.938 kB / 413.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.592e-05/0.01237, allocations: 11.02 kB / 413.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.01237, allocations: 0 / 413.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.01238, allocations: 0 / 413.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.01238, allocations: 3.938 kB / 413.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.329e-05/0.01246, allocations: 101.3 kB / 413.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.01246, allocations: 0 / 413.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.01246, allocations: 0 / 413.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.01247, allocations: 0 / 413.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.01247, allocations: 0 / 413.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.01247, allocations: 0 / 413.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01248, allocations: 0 / 413.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.01262, allocations: 132.5 kB / 413.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-06/0.01263, allocations: 0 / 413.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.01264, allocations: 3.938 kB / 413.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-06/0.01265, allocations: 0 / 413.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.01267, allocations: 3.984 kB / 413.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.01267, allocations: 4 kB / 413.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.492e-05/0.01273, allocations: 83.22 kB / 413.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.01273, allocations: 0 / 413.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004232/0.01315, allocations: 123.6 kB / 413.8 MB, free: 12.19 MB / 350.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.000908/0.01406, allocations: 323 kB / 414.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.01423, allocations: 122.7 kB / 414.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01423, allocations: 0 / 414.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.845e-05/0.0143, allocations: 85.17 kB / 414.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.01445, allocations: 2.656 kB / 414.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.01473, allocations: 110.7 kB / 414.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.205e-05/0.01479, allocations: 55.36 kB / 414.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.653e-06/0.0148, allocations: 0 / 414.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.01482, allocations: 8.5 kB / 414.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of SimCode: time 4.9e-07/0.01482, allocations: 3.938 kB / 414.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of Templates: time 0.008785/0.0236, allocations: 3.428 MB / 417.9 MB, free: 7.977 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 480] 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.4586685709655285]