Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",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.0009764/0.0009764, allocations: 183.5 kB / 15.76 MB, free: 6.363 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.578/1.578, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001072/0.001072, allocations: 98.78 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2613/0.2613, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004214, allocations: 16 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1529, allocations: 58.86 MB / 490.4 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.6001, allocations: 87.72 MB / 0.5645 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.6005, allocations: 76.14 kB / 0.5646 GB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01484/0.6154, allocations: 5.382 MB / 0.5699 GB, free: 7.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.6155, allocations: 0 / 0.5699 GB, free: 7.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.6155, allocations: 0 / 0.5699 GB, free: 7.379 MB / 378.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.0007525/0.6162, allocations: 426.3 kB / 0.5703 GB, free: 6.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.122e-05/0.6163, allocations: 12.03 kB / 0.5703 GB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/0.6164, allocations: 37.48 kB / 0.5703 GB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.6164, allocations: 7.906 kB / 0.5703 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.6168, allocations: 214 kB / 0.5705 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.6168, allocations: 0 / 0.5705 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.6169, allocations: 7.5 kB / 0.5705 GB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.6171, allocations: 50.23 kB / 0.5706 GB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.6171, allocations: 0 / 0.5706 GB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.6171, allocations: 4.688 kB / 0.5706 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6171, allocations: 4 kB / 0.5706 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.6172, allocations: 24.67 kB / 0.5706 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/0.6178, allocations: 302.4 kB / 0.5709 GB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.618, allocations: 62.16 kB / 0.571 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.6181, allocations: 0 / 0.571 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.6183, allocations: 73.89 kB / 0.571 GB, free: 6.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.6183, allocations: 3.938 kB / 0.571 GB, free: 6.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006904/0.619, allocations: 183.4 kB / 0.5712 GB, free: 5.922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.619, allocations: 51.41 kB / 0.5713 GB, free: 5.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.6192, allocations: 170.5 kB / 0.5714 GB, free: 5.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.6193, allocations: 33.06 kB / 0.5714 GB, free: 5.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.6193, allocations: 99.33 kB / 0.5715 GB, free: 5.582 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.6194, allocations: 27.39 kB / 0.5716 GB, free: 5.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.6194, allocations: 0 / 0.5716 GB, free: 5.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6195, allocations: 326.2 kB / 0.5719 GB, free: 5.238 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/0.6196, allocations: 23.48 kB / 0.5719 GB, free: 5.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.071e-05/0.6197, allocations: 36.89 kB / 0.5719 GB, free: 5.188 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.548e-05/0.6198, allocations: 19.19 kB / 0.572 GB, free: 5.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.6198, allocations: 4 kB / 0.572 GB, free: 5.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002019/0.62, allocations: 107.1 kB / 0.5721 GB, free: 5.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.62, allocations: 8 kB / 0.5721 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.62, allocations: 0 / 0.5721 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.6201, allocations: 0 / 0.5721 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.6202, allocations: 12 kB / 0.5721 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.6202, allocations: 11.89 kB / 0.5721 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.6202, allocations: 3.984 kB / 0.5721 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.6203, allocations: 4.156 kB / 0.5721 GB, free: 5.043 MB / 378.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 () * Number of clocked 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 0.0001168/0.6204, allocations: 129.1 kB / 0.5722 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.6204, allocations: 11.91 kB / 0.5722 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.6207, allocations: 127.5 kB / 0.5724 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.6207, allocations: 0 / 0.5724 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6207, allocations: 0 / 0.5724 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.6207, allocations: 3.953 kB / 0.5724 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.6213, allocations: 413.8 kB / 0.5728 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6213, allocations: 0 / 0.5728 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.6213, allocations: 8 kB / 0.5728 GB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.6213, allocations: 8.266 kB / 0.5728 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.6214, allocations: 0 / 0.5728 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.6214, allocations: 8.266 kB / 0.5728 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6214, allocations: 7.938 kB / 0.5728 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.6217, allocations: 215.3 kB / 0.573 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-05/0.6218, allocations: 99.56 kB / 0.5731 GB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.6218, allocations: 5.578 kB / 0.5731 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.6219, allocations: 4.562 kB / 0.5731 GB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.6219, allocations: 8.672 kB / 0.5731 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.622, allocations: 5.125 kB / 0.5731 GB, free: 3.984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001637/0.6221, allocations: 147.7 kB / 0.5732 GB, free: 3.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6221, allocations: 0 / 0.5732 GB, free: 3.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002722/0.6224, allocations: 39.16 kB / 0.5733 GB, free: 3.824 MB / 378.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) * Number of clocked states: 0 () * 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.001658/0.6241, allocations: 1.191 MB / 0.5744 GB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.6243, allocations: 68.52 kB / 0.5745 GB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6243, allocations: 3.938 kB / 0.5745 GB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.231e-05/0.6244, allocations: 30.3 kB / 0.5745 GB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.6247, allocations: 27.36 kB / 0.5746 GB, free: 2.594 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.626, allocations: 0.8615 MB / 0.5754 GB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.6263, allocations: 0.7118 MB / 0.5761 GB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.569e-05/0.6264, allocations: 20.84 kB / 0.5761 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.6264, allocations: 37.55 kB / 0.5762 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.6264, allocations: 112 / 0.5762 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.6415, allocations: 2.997 MB / 0.5791 GB, free: 13.98 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/0.6418, allocations: 217.8 kB / 0.5793 GB, free: 13.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.255, allocations: 0 / 0.5793 GB, free: 13.73 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat