Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002402/0.002402, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 95.77 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4353/0.4353, allocations: 44.21 MB / 387.5 MB, free: 39.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.0003269, allocations: 8 kB / 460 MB, free: 1.672 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.382, allocations: 61.9 MB / 0.5096 GB, free: 37.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.5039, allocations: 87.63 MB / 0.5952 GB, free: 7.398 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.5042, allocations: 71.94 kB / 0.5953 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6673/1.171, allocations: 48.72 MB / 0.6429 GB, free: 6.543 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.171, allocations: 0 / 0.6429 GB, free: 6.543 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/1.172, allocations: 0 / 0.6429 GB, free: 6.543 MB / 458.7 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.002342/1.174, allocations: 448.8 kB / 0.6433 GB, free: 6.051 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.174, allocations: 11.97 kB / 0.6433 GB, free: 6.039 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.19e-05/1.174, allocations: 34.56 kB / 0.6433 GB, free: 5.996 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/1.174, allocations: 3.938 kB / 0.6433 GB, free: 5.992 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/1.174, allocations: 163.1 kB / 0.6435 GB, free: 5.793 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/1.174, allocations: 3.953 kB / 0.6435 GB, free: 5.789 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/1.174, allocations: 0 / 0.6435 GB, free: 5.789 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/1.174, allocations: 33.69 kB / 0.6435 GB, free: 5.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/1.174, allocations: 0 / 0.6435 GB, free: 5.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/1.174, allocations: 7.938 kB / 0.6435 GB, free: 5.742 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/1.174, allocations: 0 / 0.6435 GB, free: 5.742 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.149e-05/1.174, allocations: 4 kB / 0.6435 GB, free: 5.738 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/1.175, allocations: 240.8 kB / 0.6438 GB, free: 5.453 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.093e-05/1.175, allocations: 22.61 kB / 0.6438 GB, free: 5.422 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-06/1.175, allocations: 0 / 0.6438 GB, free: 5.422 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/1.175, allocations: 56.27 kB / 0.6438 GB, free: 5.352 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/1.175, allocations: 4.062 kB / 0.6438 GB, free: 5.348 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.000191/1.175, allocations: 71.33 kB / 0.6439 GB, free: 5.266 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/1.175, allocations: 85.23 kB / 0.644 GB, free: 5.164 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.595e-05/1.175, allocations: 85 kB / 0.6441 GB, free: 5.074 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/1.175, allocations: 25.7 kB / 0.6441 GB, free: 5.043 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/1.175, allocations: 80.14 kB / 0.6442 GB, free: 4.961 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/1.175, allocations: 3.906 kB / 0.6442 GB, free: 4.957 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/1.175, allocations: 0 / 0.6442 GB, free: 4.957 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/1.175, allocations: 310.8 kB / 0.6445 GB, free: 4.645 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/1.175, allocations: 8 kB / 0.6445 GB, free: 4.637 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-06/1.175, allocations: 0 / 0.6445 GB, free: 4.637 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/1.175, allocations: 37.75 kB / 0.6445 GB, free: 4.594 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.175, allocations: 0 / 0.6445 GB, free: 4.594 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.908e-05/1.175, allocations: 71.3 kB / 0.6446 GB, free: 4.512 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/1.176, allocations: 35.11 kB / 0.6446 GB, free: 4.473 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/1.176, allocations: 0 / 0.6446 GB, free: 4.473 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/1.176, allocations: 0 / 0.6446 GB, free: 4.473 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.65e-05/1.176, allocations: 3.984 kB / 0.6446 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/1.176, allocations: 0 / 0.6446 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/1.176, allocations: 0 / 0.6446 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/1.176, allocations: 4 kB / 0.6446 GB, free: 4.465 MB / 458.7 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.606e-05/1.176, allocations: 136.1 kB / 0.6448 GB, free: 4.316 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/1.176, allocations: 11.94 kB / 0.6448 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/1.176, allocations: 6.719 kB / 0.6448 GB, free: 4.301 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.176, allocations: 0 / 0.6448 GB, free: 4.301 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/1.176, allocations: 0 / 0.6448 GB, free: 4.301 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/1.176, allocations: 0 / 0.6448 GB, free: 4.301 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/1.176, allocations: 308.3 kB / 0.6451 GB, free: 3.938 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/1.176, allocations: 3.938 kB / 0.6451 GB, free: 3.934 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-06/1.176, allocations: 11.91 kB / 0.6451 GB, free: 3.922 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/1.176, allocations: 0 / 0.6451 GB, free: 3.922 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/1.176, allocations: 0 / 0.6451 GB, free: 3.922 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.176, allocations: 0 / 0.6451 GB, free: 3.922 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.176, allocations: 0 / 0.6451 GB, free: 3.922 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/1.176, allocations: 165.2 kB / 0.6452 GB, free: 3.738 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/1.176, allocations: 81.06 kB / 0.6453 GB, free: 3.641 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/1.176, allocations: 4.031 kB / 0.6453 GB, free: 3.637 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.064e-05/1.176, allocations: 0 / 0.6453 GB, free: 3.637 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/1.176, allocations: 4 kB / 0.6453 GB, free: 3.633 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/1.176, allocations: 0 / 0.6453 GB, free: 3.633 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.538e-05/1.176, allocations: 79.28 kB / 0.6454 GB, free: 3.555 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.176, allocations: 0 / 0.6454 GB, free: 3.555 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004702/1.181, allocations: 1.308 MB / 0.6467 GB, free: 2.246 MB / 458.7 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.008301/1.189, allocations: 1.825 MB / 0.6485 GB, free: 404 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002095/1.19, allocations: 63.41 kB / 0.6485 GB, free: 328 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.19, allocations: 0 / 0.6485 GB, free: 328 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.945e-05/1.19, allocations: 71.25 kB / 0.6486 GB, free: 244 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/1.19, allocations: 1.719 kB / 0.6486 GB, free: 244 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/1.193, allocations: 368.6 kB / 0.6489 GB, free: 15.83 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/1.193, allocations: 0.677 MB / 0.6496 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.485e-05/1.193, allocations: 0 / 0.6496 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/1.193, allocations: 11.44 kB / 0.6496 GB, free: 15.11 MB / 474.7 MB Notification: Performance of SimCode: time 6.42e-07/1.193, allocations: 0 / 0.6496 GB, free: 15.11 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3241/1.517, allocations: 68.92 MB / 0.7169 GB, free: 104.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/1.517, allocations: 212.8 kB / 0.7171 GB, free: 104.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.487/8.005, allocations: 0 / 0.7171 GB, free: 104.2 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestSpecial_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestSpecial.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat