Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.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.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",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.0008133/0.0008132, 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.0009966/0.0009968, allocations: 175 kB / 16.58 MB, free: 6.84 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.58/1.58, allocations: 205.4 MB / 222.7 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.3687/0.3687, allocations: 43.55 MB / 314.6 MB, free: 8.738 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.0004887/0.0004888, allocations: 16 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1201, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.0006448/0.1208, allocations: 244.4 kB / 443.1 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002767/0.1236, allocations: 1.932 MB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.047e-05/0.1236, allocations: 4 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.003e-06/0.1237, allocations: 0 / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.645e-06/0.1237, allocations: 0 / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.125, allocations: 403.2 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.437e-05/0.125, allocations: 0 / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 1.878e-05/0.125, allocations: 0 / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.055e-06/0.125, allocations: 3.984 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-06/0.1251, allocations: 0 / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.657e-06/0.1251, allocations: 4 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.1261, allocations: 0.6551 MB / 446.1 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.077e-06/0.1262, allocations: 0 / 446.1 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.1262, allocations: 29.64 kB / 446.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.1266, allocations: 247.6 kB / 446.4 MB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1266, allocations: 0 / 446.4 MB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1266, allocations: 0 / 446.4 MB, free: 9.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.394e-06/0.1266, allocations: 0 / 446.4 MB, free: 9.43 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.0003239/0.127, allocations: 405.1 kB / 446.8 MB, free: 8.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.53e-05/0.127, allocations: 8.031 kB / 446.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.127, allocations: 38.47 kB / 446.8 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.496e-05/0.1271, allocations: 11.95 kB / 446.8 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.183e-05/0.1271, allocations: 163 kB / 447 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-06/0.1272, allocations: 3.938 kB / 447 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.1272, allocations: 3.984 kB / 447 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.093e-05/0.1272, allocations: 37.69 kB / 447 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-06/0.1272, allocations: 0 / 447 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-06/0.1272, allocations: 0 / 447 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-06/0.1273, allocations: 0 / 447 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.453e-05/0.1273, allocations: 7.953 kB / 447 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.1274, allocations: 233.2 kB / 447.3 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.448e-05/0.1275, allocations: 22.55 kB / 447.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.1275, allocations: 16.86 kB / 447.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-06/0.1275, allocations: 0 / 447.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.1276, allocations: 60.25 kB / 447.4 MB, free: 8.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.284e-06/0.1276, allocations: 4 kB / 447.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000162/0.1277, allocations: 71.36 kB / 447.4 MB, free: 8.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1278, allocations: 85.05 kB / 447.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.105e-05/0.1278, allocations: 89.86 kB / 447.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.1278, allocations: 25.7 kB / 447.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.1279, allocations: 84.12 kB / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.1279, allocations: 7.844 kB / 447.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-06/0.1279, allocations: 0 / 447.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.128, allocations: 315 kB / 448 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-06/0.128, allocations: 8 kB / 448 MB, free: 7.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.128, allocations: 0 / 448 MB, free: 7.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.223e-05/0.1281, allocations: 29.7 kB / 448.1 MB, free: 7.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1281, allocations: 0 / 448.1 MB, free: 7.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.086e-05/0.1281, allocations: 67.39 kB / 448.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.1282, allocations: 33.7 kB / 448.2 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.1282, allocations: 0 / 448.2 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.1282, allocations: 0 / 448.2 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-06/0.1282, allocations: 0 / 448.2 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1282, allocations: 11.98 kB / 448.2 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.1282, allocations: 0 / 448.2 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-06/0.1282, allocations: 4 kB / 448.2 MB, free: 7.352 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 6.917e-05/0.1283, allocations: 139.5 kB / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.1283, allocations: 4 kB / 448.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.274e-05/0.1284, allocations: 7.125 kB / 448.3 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1284, allocations: 3.938 kB / 448.3 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1284, allocations: 0 / 448.3 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1284, allocations: 3.953 kB / 448.3 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.1286, allocations: 296.4 kB / 448.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1286, allocations: 0 / 448.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-06/0.1286, allocations: 0 / 448.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1286, allocations: 0 / 448.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1286, allocations: 3.984 kB / 448.6 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1287, allocations: 3.953 kB / 448.6 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1287, allocations: 3.938 kB / 448.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.1288, allocations: 169.3 kB / 448.8 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.1288, allocations: 81.09 kB / 448.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.1288, allocations: 8 kB / 448.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.1289, allocations: 4 kB / 448.9 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.1289, allocations: 3.953 kB / 448.9 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1289, allocations: 3.938 kB / 448.9 MB, free: 6.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.126e-05/0.1289, allocations: 75.28 kB / 449 MB, free: 6.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1289, allocations: 0 / 449 MB, free: 6.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004379/0.1294, allocations: 128 kB / 449.1 MB, free: 6.312 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.001027/0.1304, allocations: 0.8973 MB / 450 MB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.389e-05/0.1305, allocations: 63.41 kB / 450.1 MB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.1305, allocations: 0 / 450.1 MB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.1305, allocations: 59.39 kB / 450.1 MB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.1307, allocations: 15.64 kB / 450.1 MB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.1312, allocations: 340.7 kB / 450.5 MB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1314, allocations: 0.677 MB / 451.1 MB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.093e-06/0.1315, allocations: 0 / 451.1 MB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.384e-05/0.1315, allocations: 7.438 kB / 451.2 MB, free: 4.145 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1315, allocations: 4 kB / 451.2 MB, free: 4.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.1471, allocations: 4.16 MB / 455.3 MB, free: 8 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2302/0.3774, allocations: 213.6 kB / 455.5 MB, free: 47.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.188, allocations: 0 / 455.5 MB, free: 47.93 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat