Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001627, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009442/0.0009442, allocations: 90.58 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4218/0.4218, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.024e-05/4.027e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1796, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5281/0.7078, allocations: 87.62 MB / 0.5585 GB, free: 16.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.7081, allocations: 76.58 kB / 0.5586 GB, free: 16.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01529/0.7235, allocations: 5.363 MB / 0.5638 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.7235, allocations: 0 / 0.5638 GB, free: 13.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.7236, allocations: 0 / 0.5638 GB, free: 13.2 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005847/0.7242, allocations: 409.1 kB / 0.5642 GB, free: 12.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.7242, allocations: 12.03 kB / 0.5642 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.478e-05/0.7243, allocations: 32.11 kB / 0.5642 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.7244, allocations: 11.34 kB / 0.5642 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.7247, allocations: 219.4 kB / 0.5644 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.7248, allocations: 7.562 kB / 0.5645 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.7248, allocations: 0 / 0.5645 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.725, allocations: 55.83 kB / 0.5645 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.725, allocations: 0 / 0.5645 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.725, allocations: 1.375 kB / 0.5645 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.725, allocations: 8 kB / 0.5645 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.718e-05/0.7251, allocations: 18.81 kB / 0.5645 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.7256, allocations: 293.3 kB / 0.5648 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.7258, allocations: 58.05 kB / 0.5649 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.129e-05/0.7258, allocations: 18.02 kB / 0.5649 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.7259, allocations: 4 kB / 0.5649 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.726, allocations: 70.25 kB / 0.565 GB, free: 11.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.726, allocations: 0 / 0.565 GB, free: 11.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005569/0.7266, allocations: 162.1 kB / 0.5651 GB, free: 11.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.7266, allocations: 51.41 kB / 0.5652 GB, free: 11.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.7268, allocations: 169.9 kB / 0.5653 GB, free: 11.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.7269, allocations: 29.39 kB / 0.5653 GB, free: 11.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.7269, allocations: 102.4 kB / 0.5654 GB, free: 11.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.727, allocations: 22.55 kB / 0.5655 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.727, allocations: 0 / 0.5655 GB, free: 11.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.7272, allocations: 325.7 kB / 0.5658 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.7272, allocations: 17.34 kB / 0.5658 GB, free: 11.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.442e-05/0.7273, allocations: 39.72 kB / 0.5658 GB, free: 11.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.923e-05/0.7274, allocations: 22.78 kB / 0.5659 GB, free: 11.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.7274, allocations: 4 kB / 0.5659 GB, free: 11.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001763/0.7275, allocations: 99.11 kB / 0.566 GB, free: 11.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.7276, allocations: 4 kB / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.7276, allocations: 7.938 kB / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/0.7276, allocations: 0 / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.7278, allocations: 18.66 kB / 0.566 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.7278, allocations: 3.953 kB / 0.566 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.7279, allocations: 5.406 kB / 0.566 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.7279, allocations: 4 kB / 0.566 GB, free: 11.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.375e-05/0.728, allocations: 109.8 kB / 0.5661 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.728, allocations: 13.45 kB / 0.5661 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.7283, allocations: 123.6 kB / 0.5662 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.7283, allocations: 0 / 0.5662 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.7283, allocations: 1.828 kB / 0.5662 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.7283, allocations: 5.172 kB / 0.5662 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.7288, allocations: 406.6 kB / 0.5666 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7289, allocations: 4.031 kB / 0.5666 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.7289, allocations: 13.39 kB / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.7289, allocations: 4 kB / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.729, allocations: 3.953 kB / 0.5666 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.729, allocations: 1.5 kB / 0.5666 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.729, allocations: 4 kB / 0.5667 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.7292, allocations: 215.2 kB / 0.5669 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.7293, allocations: 98.89 kB / 0.567 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.7293, allocations: 5.875 kB / 0.567 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.7294, allocations: 15.17 kB / 0.567 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.7295, allocations: 7.281 kB / 0.567 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.7295, allocations: 4 kB / 0.567 GB, free: 10.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.7296, allocations: 136.9 kB / 0.5671 GB, free: 9.949 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7296, allocations: 0 / 0.5671 GB, free: 9.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003037/0.7299, allocations: 32.95 kB / 0.5671 GB, free: 9.922 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001684/0.7316, allocations: 1.144 MB / 0.5683 GB, free: 8.855 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.7318, allocations: 54.75 kB / 0.5683 GB, free: 8.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7318, allocations: 0 / 0.5683 GB, free: 8.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.559e-05/0.7319, allocations: 34.55 kB / 0.5683 GB, free: 8.789 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.7322, allocations: 26.19 kB / 0.5684 GB, free: 8.773 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/0.7329, allocations: 230 kB / 0.5686 GB, free: 8.527 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.7332, allocations: 0.7043 MB / 0.5693 GB, free: 7.797 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.814e-05/0.7333, allocations: 20.84 kB / 0.5693 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/0.7333, allocations: 41.11 kB / 0.5693 GB, free: 7.754 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.7333, allocations: 0 / 0.5693 GB, free: 7.754 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.751, allocations: 3 MB / 0.5723 GB, free: 4.785 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.7512, allocations: 183.6 kB / 0.5724 GB, free: 4.562 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.43, allocations: 0 / 0.5724 GB, free: 4.562 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat