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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 88.19 kB / 15.7 MB, free: 460 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.001795/0.001795, allocations: 175.2 kB / 16.58 MB, free: 6.844 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.568/1.568, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.3624/0.3624, allocations: 43.55 MB / 314.6 MB, free: 8.789 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.0004775/0.0004776, allocations: 16 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1205, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.0005428/0.1211, allocations: 240.4 kB / 443.1 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.1235, allocations: 1.967 MB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.476e-05/0.1236, allocations: 0 / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.1236, allocations: 0 / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.193e-06/0.1236, allocations: 0 / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.1249, allocations: 419.1 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.101e-05/0.1249, allocations: 4 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.125, allocations: 4 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.401e-05/0.125, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.693e-05/0.125, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-06/0.125, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008856/0.1259, allocations: 0.6277 MB / 446.1 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-06/0.1259, allocations: 0 / 446.1 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.126, allocations: 25.7 kB / 446.2 MB, free: 9.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.1263, allocations: 251.8 kB / 446.4 MB, free: 9.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1263, allocations: 4 kB / 446.4 MB, free: 9.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1263, allocations: 0 / 446.4 MB, free: 9.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1263, allocations: 0 / 446.4 MB, free: 9.406 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.0003759/0.1267, allocations: 413 kB / 446.8 MB, free: 8.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1267, allocations: 8.031 kB / 446.8 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.877e-05/0.1268, allocations: 34.47 kB / 446.9 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.975e-05/0.1268, allocations: 3.953 kB / 446.9 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.915e-05/0.1269, allocations: 171.1 kB / 447 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1269, allocations: 0 / 447 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.1269, allocations: 0 / 447 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.918e-05/0.127, allocations: 33.7 kB / 447.1 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.127, allocations: 3.938 kB / 447.1 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.1271, allocations: 0 / 447.1 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.1271, allocations: 7.938 kB / 447.1 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.749e-05/0.1271, allocations: 7.938 kB / 447.1 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.1273, allocations: 229 kB / 447.3 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.585e-05/0.1274, allocations: 22.58 kB / 447.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.1274, allocations: 12.92 kB / 447.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-06/0.1274, allocations: 0 / 447.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.1275, allocations: 64.19 kB / 447.4 MB, free: 8.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1275, allocations: 0 / 447.4 MB, free: 8.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001688/0.1276, allocations: 71.36 kB / 447.5 MB, free: 8.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.1277, allocations: 77.11 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.654e-05/0.1277, allocations: 101.9 kB / 447.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.1278, allocations: 29.7 kB / 447.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.1278, allocations: 80.14 kB / 447.7 MB, free: 7.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.1278, allocations: 3.906 kB / 447.8 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-06/0.1278, allocations: 0 / 447.8 MB, free: 7.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1279, allocations: 314.8 kB / 448.1 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.1279, allocations: 4 kB / 448.1 MB, free: 7.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.128, allocations: 0 / 448.1 MB, free: 7.504 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.778e-05/0.128, allocations: 37.7 kB / 448.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.128, allocations: 0 / 448.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.965e-05/0.1281, allocations: 67.39 kB / 448.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.1281, allocations: 29.7 kB / 448.2 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1281, allocations: 4 kB / 448.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.1281, allocations: 0 / 448.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.519e-05/0.1281, allocations: 7.953 kB / 448.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1282, allocations: 0 / 448.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.489e-05/0.1282, allocations: 0 / 448.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1282, allocations: 0 / 448.2 MB, free: 7.336 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 8.011e-05/0.1283, allocations: 147.5 kB / 448.4 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.1283, allocations: 0 / 448.4 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.373e-05/0.1283, allocations: 7.125 kB / 448.4 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1283, allocations: 4 kB / 448.4 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1283, allocations: 3.953 kB / 448.4 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1283, allocations: 0 / 448.4 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.1286, allocations: 292.3 kB / 448.7 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1286, allocations: 0 / 448.7 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.883e-06/0.1286, allocations: 4 kB / 448.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1286, allocations: 11.95 kB / 448.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1286, allocations: 0 / 448.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.1286, allocations: 3.953 kB / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1286, allocations: 0 / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.1288, allocations: 165.2 kB / 448.8 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.1288, allocations: 81.11 kB / 448.9 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1288, allocations: 0 / 448.9 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.882e-05/0.1289, allocations: 8.031 kB / 448.9 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.1289, allocations: 7.938 kB / 448.9 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1289, allocations: 4 kB / 448.9 MB, free: 6.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.034e-05/0.1289, allocations: 75.28 kB / 449 MB, free: 6.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1289, allocations: 0 / 449 MB, free: 6.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.1293, allocations: 127.9 kB / 449.1 MB, free: 6.293 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.0009243/0.1303, allocations: 0.8896 MB / 450 MB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.1304, allocations: 71.33 kB / 450.1 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1304, allocations: 0 / 450.1 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.388e-05/0.1304, allocations: 55.41 kB / 450.1 MB, free: 5.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.1306, allocations: 12.11 kB / 450.2 MB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.1311, allocations: 352.6 kB / 450.5 MB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.1314, allocations: 0.6769 MB / 451.2 MB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.206e-05/0.1314, allocations: 0 / 451.2 MB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.1314, allocations: 11.44 kB / 451.2 MB, free: 4.113 MB / 382.1 MB Notification: Performance of SimCode: time 2.084e-06/0.1314, allocations: 4.031 kB / 451.2 MB, free: 4.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2203/0.3517, allocations: 4.182 MB / 455.4 MB, free: 46.11 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.3519, allocations: 226.4 kB / 455.6 MB, free: 45.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.188, allocations: 0 / 455.6 MB, free: 45.88 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.mat does not exist to compare? outputFormat=mat