Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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.001522/0.001522, allocations: 77.23 kB / 19.93 MB, free: 1.785 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.001655/0.001655, allocations: 163.5 kB / 23.21 MB, free: 4.906 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.768/1.768, allocations: 158.6 MB / 185 MB, free: 6.402 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.2782/0.2782, allocations: 32.38 MB / 269.6 MB, free: 4.676 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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 407.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.083e-05, allocations: 2.281 kB / 407.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001921/0.001952, allocations: 0.5055 MB / 407.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005321/0.007273, allocations: 2.224 MB / 410.1 MB, free: 276 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.007305, allocations: 0 / 410.1 MB, free: 276 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.007326, allocations: 8 kB / 410.1 MB, free: 268 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.786e-06/0.007335, allocations: 0 / 410.1 MB, free: 268 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.009573, allocations: 0.5756 MB / 410.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.867e-05/0.009631, allocations: 3.984 kB / 410.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.009675, allocations: 4 kB / 410.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.405e-05/0.009709, allocations: 4 kB / 410.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.391e-05/0.009733, allocations: 3.984 kB / 410.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.009743, allocations: 4 kB / 410.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.01093, allocations: 0.6626 MB / 411.3 MB, free: 15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.01094, allocations: 0 / 411.3 MB, free: 15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.01096, allocations: 4 kB / 411.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008241/0.01178, allocations: 0.5182 MB / 411.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01179, allocations: 3.938 kB / 411.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.01179, allocations: 0 / 411.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.0118, allocations: 0 / 411.9 MB, free: 14.47 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.0005781/0.01237, allocations: 363.1 kB / 412.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.01243, allocations: 8.031 kB / 412.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.01249, allocations: 8.859 kB / 412.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.01262, allocations: 101.8 kB / 412.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.01265, allocations: 8.312 kB / 412.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.01266, allocations: 384 / 412.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.01282, allocations: 59.95 kB / 412.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.01283, allocations: 4.188 kB / 412.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.01284, allocations: 384 / 412.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.01285, allocations: 3.938 kB / 412.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.364e-05/0.01289, allocations: 25.7 kB / 412.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.01307, allocations: 101.3 kB / 412.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.309e-05/0.01316, allocations: 48.22 kB / 412.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.052e-05/0.0132, allocations: 34.66 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.01321, allocations: 0 / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.869e-05/0.01329, allocations: 60.25 kB / 412.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.01329, allocations: 0 / 412.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003127/0.0136, allocations: 122.8 kB / 412.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.01373, allocations: 85.05 kB / 412.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.01381, allocations: 93.84 kB / 413 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.01383, allocations: 25.7 kB / 413 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.01388, allocations: 80.14 kB / 413.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.01392, allocations: 3.953 kB / 413.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.01397, allocations: 13.72 kB / 413.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.01418, allocations: 314.8 kB / 413.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-05/0.01421, allocations: 25.7 kB / 413.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.078e-05/0.01423, allocations: 29.83 kB / 413.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.977e-05/0.0143, allocations: 64.33 kB / 413.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.0143, allocations: 0 / 413.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000124/0.01443, allocations: 97.03 kB / 413.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.01448, allocations: 29.7 kB / 413.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.01449, allocations: 0 / 413.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.01451, allocations: 0 / 413.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.01451, allocations: 0 / 413.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.01452, allocations: 11.94 kB / 413.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.01454, allocations: 0 / 413.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.01455, allocations: 8.016 kB / 413.7 MB, free: 12.4 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.0001348/0.01469, allocations: 135.5 kB / 413.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-06/0.0147, allocations: 3.938 kB / 413.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.422e-05/0.01471, allocations: 3 kB / 413.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.01471, allocations: 0 / 413.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.01472, allocations: 0 / 413.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.01472, allocations: 3.938 kB / 413.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.01483, allocations: 105.3 kB / 413.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.01483, allocations: 0 / 413.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.01483, allocations: 0 / 413.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-06/0.01483, allocations: 3.938 kB / 413.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.01484, allocations: 4 kB / 413.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01484, allocations: 0 / 413.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.01485, allocations: 4 kB / 413.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.015, allocations: 124.4 kB / 414 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-06/0.01501, allocations: 0 / 414 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.01502, allocations: 0 / 414 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-06/0.01503, allocations: 0 / 414 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.01505, allocations: 8 kB / 414.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.01505, allocations: 0 / 414.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.831e-05/0.0151, allocations: 79.22 kB / 414.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0151, allocations: 4.031 kB / 414.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000528/0.01563, allocations: 151.4 kB / 414.3 MB, free: 11.71 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.0009292/0.01656, allocations: 374.6 kB / 414.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.01671, allocations: 114.8 kB / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01672, allocations: 0 / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.17e-05/0.01678, allocations: 89.16 kB / 414.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.01691, allocations: 6.281 kB / 414.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.01714, allocations: 106.7 kB / 415 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.705e-05/0.01719, allocations: 63.33 kB / 415 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.48e-06/0.0172, allocations: 0 / 415 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.448e-05/0.01721, allocations: 8.5 kB / 415 MB, free: 10.87 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.01721, allocations: 0 / 415 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Templates: time 0.008314/0.02553, allocations: 3.557 MB / 418.6 MB, free: 7.312 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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.690749228000641]