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.00128/0.00128, allocations: 96.59 kB / 15.69 MB, free: 480 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.002062/0.002062, allocations: 171.4 kB / 16.57 MB, free: 6.391 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.84/1.84, allocations: 205.4 MB / 222.7 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.3801/0.3801, allocations: 43.55 MB / 314.5 MB, free: 9.059 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.0005296/0.0005296, allocations: 14.97 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1452, allocations: 58.85 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.0006824/0.146, allocations: 240.4 kB / 443.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003155/0.1491, allocations: 2.213 MB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.1492, allocations: 0 / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.1492, allocations: 3.938 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.748e-06/0.1492, allocations: 0 / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.1506, allocations: 455 kB / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.304e-05/0.1506, allocations: 3.984 kB / 445.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.1507, allocations: 7.938 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.1507, allocations: 0 / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.801e-05/0.1507, allocations: 0 / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.019e-06/0.1507, allocations: 0 / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.1518, allocations: 0.6864 MB / 446.4 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-06/0.1518, allocations: 0 / 446.4 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.1518, allocations: 29.7 kB / 446.5 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.1524, allocations: 287.8 kB / 446.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1524, allocations: 0 / 446.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1524, allocations: 0 / 446.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1524, allocations: 4 kB / 446.8 MB, free: 9.266 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.0005505/0.153, allocations: 440.9 kB / 447.2 MB, free: 8.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.153, allocations: 8.031 kB / 447.2 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.907e-05/0.1531, allocations: 30.56 kB / 447.2 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.1531, allocations: 3.953 kB / 447.2 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1532, allocations: 163.1 kB / 447.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1533, allocations: 4 kB / 447.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.1533, allocations: 0 / 447.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1534, allocations: 33.69 kB / 447.4 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1534, allocations: 7.938 kB / 447.4 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.1534, allocations: 0 / 447.4 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1534, allocations: 0 / 447.4 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.233e-05/0.1534, allocations: 7.953 kB / 447.4 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.1537, allocations: 232.9 kB / 447.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.167e-05/0.1538, allocations: 22.58 kB / 447.7 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.034e-06/0.1538, allocations: 0 / 447.7 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.1539, allocations: 68.2 kB / 447.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1539, allocations: 0 / 447.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002069/0.1541, allocations: 79.38 kB / 447.8 MB, free: 7.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/0.1542, allocations: 77.11 kB / 447.9 MB, free: 7.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.098e-05/0.1542, allocations: 97.8 kB / 448 MB, free: 7.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.1543, allocations: 29.7 kB / 448 MB, free: 7.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.1543, allocations: 80.14 kB / 448.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.1543, allocations: 8.031 kB / 448.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.1544, allocations: 0 / 448.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.1546, allocations: 310.8 kB / 448.4 MB, free: 7.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.1546, allocations: 4 kB / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-06/0.1546, allocations: 3.984 kB / 448.4 MB, free: 7.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.434e-05/0.1546, allocations: 33.7 kB / 448.5 MB, free: 7.309 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1547, allocations: 3.938 kB / 448.5 MB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001619/0.1548, allocations: 59.41 kB / 448.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.1549, allocations: 37.78 kB / 448.6 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1549, allocations: 4 kB / 448.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1549, allocations: 4 kB / 448.6 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.857e-05/0.1549, allocations: 0 / 448.6 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1549, allocations: 3.953 kB / 448.6 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.155, allocations: 4 kB / 448.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.155, allocations: 4 kB / 448.6 MB, free: 7.172 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 9.465e-05/0.1551, allocations: 135.5 kB / 448.7 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.1551, allocations: 0 / 448.7 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.747e-05/0.1551, allocations: 3.125 kB / 448.7 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1551, allocations: 8 kB / 448.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1551, allocations: 0 / 448.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1552, allocations: 3.953 kB / 448.7 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.1554, allocations: 296.3 kB / 449 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.1554, allocations: 4 kB / 449 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-06/0.1554, allocations: 0 / 449 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1554, allocations: 0 / 449 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1555, allocations: 4 kB / 449 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1555, allocations: 0 / 449 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.1555, allocations: 7.984 kB / 449 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.1556, allocations: 169.2 kB / 449.2 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.1557, allocations: 77.11 kB / 449.3 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1557, allocations: 0 / 449.3 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.1557, allocations: 0 / 449.3 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.1557, allocations: 11.89 kB / 449.3 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1558, allocations: 7.922 kB / 449.3 MB, free: 6.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.961e-05/0.1558, allocations: 79.31 kB / 449.4 MB, free: 6.262 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1558, allocations: 0 / 449.4 MB, free: 6.262 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004861/0.1563, allocations: 159.9 kB / 449.5 MB, free: 6.105 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.001099/0.1574, allocations: 0.9325 MB / 450.5 MB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.1575, allocations: 63.34 kB / 450.5 MB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1575, allocations: 0 / 450.5 MB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.559e-05/0.1576, allocations: 59.39 kB / 450.6 MB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.1577, allocations: 4 kB / 450.6 MB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.1582, allocations: 368.6 kB / 450.9 MB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1585, allocations: 0.6771 MB / 451.6 MB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.138e-05/0.1586, allocations: 0 / 451.6 MB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.1586, allocations: 11.44 kB / 451.6 MB, free: 3.879 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1586, allocations: 0 / 451.6 MB, free: 3.879 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2195/0.3781, allocations: 4.377 MB / 456 MB, free: 45.96 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003377/0.3785, allocations: 225.4 kB / 456.2 MB, free: 45.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.34, allocations: 7.688 kB / 456.2 MB, free: 45.72 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