Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.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.001303/0.001303, allocations: 113.6 kB / 17.12 MB, free: 5.891 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.001317/0.001317, allocations: 212.3 kB / 20.09 MB, free: 2.941 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.541/1.541, allocations: 207.6 MB / 230.5 MB, free: 4.051 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.4429/0.4429, allocations: 44.23 MB / 326.6 MB, free: 6.816 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: "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions",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.002387/0.002387, allocations: 79.89 kB / 462.2 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3575, allocations: 60.99 MB / 0.5109 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001688/0.3592, allocations: 0.5182 MB / 0.5114 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.3618, allocations: 2.087 MB / 0.5135 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.3618, allocations: 0 / 0.5135 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.3619, allocations: 5.406 kB / 0.5135 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.482e-06/0.3619, allocations: 0 / 0.5135 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.3632, allocations: 0.4975 MB / 0.514 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.92e-05/0.3633, allocations: 6.688 kB / 0.514 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.3633, allocations: 0 / 0.514 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.595e-05/0.3634, allocations: 1.375 kB / 0.514 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.786e-05/0.3634, allocations: 1.375 kB / 0.514 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.623e-06/0.3634, allocations: 4 kB / 0.514 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009357/0.3643, allocations: 0.6543 MB / 0.5146 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-06/0.3643, allocations: 1.094 kB / 0.5146 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.3643, allocations: 1.062 kB / 0.5146 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.3648, allocations: 387.1 kB / 0.515 GB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3648, allocations: 1.125 kB / 0.515 GB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3648, allocations: 0 / 0.515 GB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3649, allocations: 0 / 0.515 GB, free: 10.34 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.0003809/0.3652, allocations: 418.7 kB / 0.5154 GB, free: 9.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3653, allocations: 11.83 kB / 0.5154 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.955e-05/0.3653, allocations: 36.2 kB / 0.5154 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.3653, allocations: 6.594 kB / 0.5155 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.015e-05/0.3654, allocations: 160.4 kB / 0.5156 GB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3654, allocations: 4.375 kB / 0.5156 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.3654, allocations: 1.719 kB / 0.5156 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.386e-05/0.3655, allocations: 36.98 kB / 0.5156 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3655, allocations: 1.562 kB / 0.5156 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.3655, allocations: 0 / 0.5156 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3655, allocations: 0 / 0.5156 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.108e-05/0.3656, allocations: 6.672 kB / 0.5157 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.3657, allocations: 235.3 kB / 0.5159 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.028e-05/0.3658, allocations: 27.78 kB / 0.5159 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.3658, allocations: 12.64 kB / 0.5159 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.3658, allocations: 0 / 0.5159 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3659, allocations: 57.33 kB / 0.516 GB, free: 9.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3659, allocations: 0 / 0.516 GB, free: 9.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001811/0.366, allocations: 71.67 kB / 0.516 GB, free: 9.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.3661, allocations: 82.48 kB / 0.5161 GB, free: 9.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.789e-05/0.3661, allocations: 89.86 kB / 0.5162 GB, free: 8.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.3661, allocations: 25.7 kB / 0.5162 GB, free: 8.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.062e-05/0.3661, allocations: 80.14 kB / 0.5163 GB, free: 8.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.3661, allocations: 5.234 kB / 0.5163 GB, free: 8.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.3662, allocations: 16.84 kB / 0.5163 GB, free: 8.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.3662, allocations: 318.7 kB / 0.5166 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.3662, allocations: 10.64 kB / 0.5166 GB, free: 8.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.3662, allocations: 1.438 kB / 0.5166 GB, free: 8.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.781e-05/0.3663, allocations: 65.73 kB / 0.5167 GB, free: 8.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3663, allocations: 7.938 kB / 0.5167 GB, free: 8.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.809e-05/0.3663, allocations: 60.88 kB / 0.5168 GB, free: 8.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.3663, allocations: 39.19 kB / 0.5168 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3664, allocations: 1.375 kB / 0.5168 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3664, allocations: 0 / 0.5168 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.338e-05/0.3664, allocations: 0 / 0.5168 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3664, allocations: 5.469 kB / 0.5168 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.3664, allocations: 3.938 kB / 0.5168 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.3664, allocations: 1.375 kB / 0.5168 GB, free: 8.297 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.528e-05/0.3665, allocations: 138.2 kB / 0.517 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.3665, allocations: 1.375 kB / 0.517 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.674e-05/0.3665, allocations: 3.125 kB / 0.517 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3665, allocations: 3.984 kB / 0.517 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.3665, allocations: 1.375 kB / 0.517 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3665, allocations: 0 / 0.517 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.3667, allocations: 306 kB / 0.5173 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3667, allocations: 0 / 0.5173 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-06/0.3667, allocations: 1.375 kB / 0.5173 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3667, allocations: 0 / 0.5173 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3667, allocations: 5.312 kB / 0.5173 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3667, allocations: 0 / 0.5173 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3667, allocations: 3.938 kB / 0.5173 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.569e-05/0.3668, allocations: 171 kB / 0.5174 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.3668, allocations: 82.47 kB / 0.5175 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.3668, allocations: 1.375 kB / 0.5175 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.292e-05/0.3668, allocations: 3.984 kB / 0.5175 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.3669, allocations: 1.375 kB / 0.5175 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3669, allocations: 1.375 kB / 0.5175 GB, free: 7.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.684e-05/0.3669, allocations: 75.28 kB / 0.5176 GB, free: 7.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-08/0.3669, allocations: 0 / 0.5176 GB, free: 7.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004555/0.3673, allocations: 135.6 kB / 0.5177 GB, free: 7.387 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.0009375/0.3683, allocations: 0.9143 MB / 0.5186 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.3684, allocations: 67.69 kB / 0.5187 GB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3684, allocations: 0 / 0.5187 GB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.3e-05/0.3684, allocations: 59.52 kB / 0.5187 GB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.3686, allocations: 4.938 kB / 0.5187 GB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007656/0.3694, allocations: 1.204 MB / 0.5199 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.3695, allocations: 0.6702 MB / 0.5206 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.253e-05/0.3695, allocations: 1.375 kB / 0.5206 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.3696, allocations: 8.719 kB / 0.5206 GB, free: 4.508 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3696, allocations: 0 / 0.5206 GB, free: 4.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.4006, allocations: 4.435 MB / 0.5249 GB, free: 96 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.538, allocations: 4.656 kB / 0.5249 GB, free: 92 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_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_TestDistributions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.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.640685029997258]