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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000854/0.000854, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009142/0.0009144, allocations: 174.2 kB / 16.58 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3321/0.3321, allocations: 43.55 MB / 314.6 MB, free: 8.742 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005414/0.0005415, allocations: 14.97 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1116, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.0008101/0.1124, allocations: 236.4 kB / 443.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004466/0.1169, allocations: 2.204 MB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.117, allocations: 0 / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.117, allocations: 3.938 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.773e-06/0.117, allocations: 0 / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.119, allocations: 478.8 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.19e-05/0.1191, allocations: 0 / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.1191, allocations: 0 / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.032e-05/0.1192, allocations: 0 / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.634e-05/0.1192, allocations: 4 kB / 445.8 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.785e-06/0.1192, allocations: 4 kB / 445.8 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.1209, allocations: 0.6901 MB / 446.5 MB, free: 9.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.387e-06/0.121, allocations: 0 / 446.5 MB, free: 9.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.121, allocations: 25.7 kB / 446.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009973/0.122, allocations: 303.8 kB / 446.8 MB, free: 8.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.1221, allocations: 4 kB / 446.8 MB, free: 8.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1221, allocations: 0 / 446.8 MB, free: 8.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1221, allocations: 0 / 446.8 MB, free: 8.984 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.0008641/0.123, allocations: 433 kB / 447.2 MB, free: 8.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.123, allocations: 8.031 kB / 447.2 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.456e-05/0.1231, allocations: 34.55 kB / 447.3 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.1232, allocations: 3.953 kB / 447.3 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.1233, allocations: 163.1 kB / 447.4 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.1234, allocations: 4 kB / 447.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.1234, allocations: 4 kB / 447.4 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1236, allocations: 33.7 kB / 447.5 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1236, allocations: 3.938 kB / 447.5 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1236, allocations: 0 / 447.5 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.1236, allocations: 0 / 447.5 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.449e-05/0.1237, allocations: 7.953 kB / 447.5 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.1241, allocations: 228.9 kB / 447.7 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.508e-05/0.1242, allocations: 26.61 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.1242, allocations: 12.91 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1242, allocations: 0 / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.652e-05/0.1243, allocations: 68.14 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1243, allocations: 0 / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002626/0.1246, allocations: 67.36 kB / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.1247, allocations: 89.22 kB / 448 MB, free: 7.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.956e-05/0.1247, allocations: 89.86 kB / 448.1 MB, free: 7.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1248, allocations: 25.7 kB / 448.1 MB, free: 7.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.1248, allocations: 84.14 kB / 448.2 MB, free: 7.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.1249, allocations: 3.906 kB / 448.2 MB, free: 7.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.1249, allocations: 0 / 448.2 MB, free: 7.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.125, allocations: 310.8 kB / 448.5 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.125, allocations: 4 kB / 448.5 MB, free: 7.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.1251, allocations: 4 kB / 448.5 MB, free: 7.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/0.1251, allocations: 37.7 kB / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1251, allocations: 3.938 kB / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001085/0.1252, allocations: 63.39 kB / 448.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.1253, allocations: 37.7 kB / 448.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1253, allocations: 0 / 448.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1253, allocations: 0 / 448.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.671e-05/0.1254, allocations: 0 / 448.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1254, allocations: 3.953 kB / 448.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.1254, allocations: 0 / 448.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1254, allocations: 4.031 kB / 448.6 MB, free: 6.895 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 (result,$outputAlias_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.1255, allocations: 143.5 kB / 448.8 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1256, allocations: 0 / 448.8 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.1256, allocations: 7.125 kB / 448.8 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1256, allocations: 4 kB / 448.8 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1256, allocations: 0 / 448.8 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1256, allocations: 3.953 kB / 448.8 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.1259, allocations: 304.3 kB / 449.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.126, allocations: 4.031 kB / 449.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-06/0.126, allocations: 4 kB / 449.1 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.126, allocations: 0 / 449.1 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.126, allocations: 0 / 449.1 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.126, allocations: 3.953 kB / 449.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.126, allocations: 0 / 449.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.1261, allocations: 169.2 kB / 449.3 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.1262, allocations: 81.05 kB / 449.3 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.1262, allocations: 4.031 kB / 449.3 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.398e-05/0.1263, allocations: 0 / 449.3 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.1263, allocations: 7.953 kB / 449.3 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1263, allocations: 0 / 449.3 MB, free: 6.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.74e-05/0.1263, allocations: 75.28 kB / 449.4 MB, free: 5.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1263, allocations: 0 / 449.4 MB, free: 5.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005358/0.1269, allocations: 155.9 kB / 449.6 MB, free: 5.828 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001212/0.1281, allocations: 0.944 MB / 450.5 MB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.1282, allocations: 67.33 kB / 450.6 MB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1282, allocations: 0 / 450.6 MB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/0.1283, allocations: 63.5 kB / 450.6 MB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.1285, allocations: 7.953 kB / 450.7 MB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005851/0.1291, allocations: 364.4 kB / 451 MB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.1294, allocations: 0.6732 MB / 451.7 MB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.196e-05/0.1294, allocations: 0 / 451.7 MB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.1294, allocations: 15.53 kB / 451.7 MB, free: 3.582 MB / 382.1 MB Notification: Performance of SimCode: time 2.545e-06/0.1295, allocations: 0 / 451.7 MB, free: 3.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2372/0.3666, allocations: 4.288 MB / 456 MB, free: 45.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.3668, allocations: 239.5 kB / 456.2 MB, free: 45.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/2.351, allocations: 0 / 456.2 MB, free: 45.23 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestTruncatedDistributions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestTruncatedDistributions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat does not exist to compare? outputFormat=mat