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.001263/0.001263, allocations: 112.6 kB / 17.13 MB, free: 5.918 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.001358/0.001358, allocations: 212.3 kB / 20.1 MB, free: 2.961 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.576/1.576, allocations: 207.6 MB / 230.5 MB, free: 4.027 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.3424/0.3424, allocations: 44.23 MB / 326.6 MB, free: 6.805 MB / 254.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 71.89 kB / 462.2 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3433, allocations: 61 MB / 0.5109 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001723/0.345, allocations: 0.5216 MB / 0.5114 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.348, allocations: 2.346 MB / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.126e-05/0.348, allocations: 0 / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.348, allocations: 0 / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.414e-06/0.348, allocations: 0 / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.3499, allocations: 0.5704 MB / 0.5143 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.423e-05/0.3499, allocations: 6.938 kB / 0.5143 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.35, allocations: 0 / 0.5143 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.561e-05/0.35, allocations: 1.812 kB / 0.5143 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.893e-05/0.35, allocations: 4 kB / 0.5143 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.35, allocations: 0 / 0.5143 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.3511, allocations: 0.727 MB / 0.515 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.3511, allocations: 0 / 0.515 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.3512, allocations: 5.375 kB / 0.515 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006204/0.3518, allocations: 454.3 kB / 0.5155 GB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3518, allocations: 0 / 0.5155 GB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3518, allocations: 0 / 0.5155 GB, free: 10.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3518, allocations: 1.375 kB / 0.5155 GB, free: 10.06 MB / 382.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.000425/0.3522, allocations: 445 kB / 0.5159 GB, free: 9.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3523, allocations: 13.48 kB / 0.5159 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.004e-05/0.3523, allocations: 30.75 kB / 0.5159 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.3523, allocations: 2.312 kB / 0.5159 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.25e-05/0.3524, allocations: 164.3 kB / 0.5161 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.3524, allocations: 9.75 kB / 0.5161 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.3524, allocations: 5.734 kB / 0.5161 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.3525, allocations: 32.58 kB / 0.5161 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3526, allocations: 1.375 kB / 0.5161 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.3526, allocations: 0 / 0.5161 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3526, allocations: 0 / 0.5161 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.001e-05/0.3526, allocations: 2.75 kB / 0.5161 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.3528, allocations: 235.6 kB / 0.5164 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.186e-05/0.3528, allocations: 24.02 kB / 0.5164 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.3528, allocations: 11.61 kB / 0.5164 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.3529, allocations: 1.375 kB / 0.5164 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.3529, allocations: 61.62 kB / 0.5164 GB, free: 8.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3529, allocations: 0 / 0.5164 GB, free: 8.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001978/0.3531, allocations: 74.44 kB / 0.5165 GB, free: 8.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.3531, allocations: 78.48 kB / 0.5166 GB, free: 8.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.9e-05/0.3531, allocations: 93.84 kB / 0.5167 GB, free: 8.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.954e-06/0.3531, allocations: 27.08 kB / 0.5167 GB, free: 8.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.172e-05/0.3532, allocations: 80.14 kB / 0.5168 GB, free: 8.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.3532, allocations: 5.328 kB / 0.5168 GB, free: 8.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.3532, allocations: 16.47 kB / 0.5168 GB, free: 8.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.149e-05/0.3533, allocations: 310.8 kB / 0.5171 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.3533, allocations: 5.406 kB / 0.5171 GB, free: 8.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-06/0.3533, allocations: 6.75 kB / 0.5171 GB, free: 8.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.3533, allocations: 69.75 kB / 0.5172 GB, free: 8.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3533, allocations: 3.938 kB / 0.5172 GB, free: 8.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.806e-05/0.3534, allocations: 64.97 kB / 0.5172 GB, free: 8.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.3534, allocations: 31.2 kB / 0.5173 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3534, allocations: 0 / 0.5173 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3534, allocations: 1.375 kB / 0.5173 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.298e-05/0.3534, allocations: 0 / 0.5173 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3534, allocations: 8.078 kB / 0.5173 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.3535, allocations: 5.312 kB / 0.5173 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.3535, allocations: 5.312 kB / 0.5173 GB, free: 7.996 MB / 382.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: 2 ($outputAlias_result,result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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 5.711e-05/0.3535, allocations: 142.2 kB / 0.5174 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.3535, allocations: 0 / 0.5174 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.461e-05/0.3536, allocations: 4.5 kB / 0.5174 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.3536, allocations: 0 / 0.5174 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3536, allocations: 0 / 0.5174 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3536, allocations: 1.375 kB / 0.5174 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.3537, allocations: 310 kB / 0.5177 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3537, allocations: 0 / 0.5177 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-06/0.3537, allocations: 1.375 kB / 0.5177 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.3537, allocations: 0 / 0.5177 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3538, allocations: 5.375 kB / 0.5177 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3538, allocations: 0 / 0.5177 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3538, allocations: 3.984 kB / 0.5177 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.751e-05/0.3538, allocations: 172.3 kB / 0.5179 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.3538, allocations: 77.11 kB / 0.518 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.3539, allocations: 1.375 kB / 0.518 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.207e-05/0.3539, allocations: 1.375 kB / 0.518 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.3539, allocations: 0 / 0.518 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3539, allocations: 1.375 kB / 0.518 GB, free: 7.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.798e-05/0.3539, allocations: 75.31 kB / 0.5181 GB, free: 7.133 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3539, allocations: 0 / 0.5181 GB, free: 7.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004697/0.3544, allocations: 169.1 kB / 0.5182 GB, free: 7.07 MB / 382.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: 2 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0008596/0.3553, allocations: 0.9501 MB / 0.5191 GB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.3554, allocations: 63.44 kB / 0.5192 GB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3554, allocations: 0 / 0.5192 GB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.3554, allocations: 59.34 kB / 0.5193 GB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.3556, allocations: 6.031 kB / 0.5193 GB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000751/0.3564, allocations: 1.222 MB / 0.5205 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.3565, allocations: 0.6768 MB / 0.5211 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.218e-05/0.3565, allocations: 3.984 kB / 0.5211 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.3565, allocations: 11.38 kB / 0.5211 GB, free: 3.949 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3565, allocations: 0 / 0.5211 GB, free: 3.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.3862, allocations: 4.543 MB / 0.5256 GB, free: 15.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.153/8.539, allocations: 5.406 kB / 0.5256 GB, free: 15.4 MB / 398.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestTruncatedDistributions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","/var/lib/jenkins1/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: 11.591898409998976]