Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",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.001156/0.001156, allocations: 183.9 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.827/1.827, 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.001145/0.001145, allocations: 98.86 kB / 270.2 MB, free: 13.37 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.2329/0.2329, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.000336, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1434, allocations: 58.87 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.5127, allocations: 87.72 MB / 0.5645 GB, free: 11.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.5129, allocations: 71.34 kB / 0.5646 GB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01375/0.5267, allocations: 5.377 MB / 0.5698 GB, free: 7.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.5267, allocations: 0 / 0.5698 GB, free: 7.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.5267, allocations: 4 kB / 0.5698 GB, free: 7.375 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.0004567/0.5272, allocations: 425.1 kB / 0.5703 GB, free: 6.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.5272, allocations: 8.031 kB / 0.5703 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.5273, allocations: 38.5 kB / 0.5703 GB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.5273, allocations: 7.906 kB / 0.5703 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.5276, allocations: 215.8 kB / 0.5705 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.5276, allocations: 0 / 0.5705 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.5276, allocations: 0 / 0.5705 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.5277, allocations: 59.8 kB / 0.5706 GB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.5278, allocations: 3.984 kB / 0.5706 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.5278, allocations: 0 / 0.5706 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5278, allocations: 4 kB / 0.5706 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.994e-05/0.5279, allocations: 27.05 kB / 0.5706 GB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.5282, allocations: 293.5 kB / 0.5709 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.5284, allocations: 61.16 kB / 0.5709 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.5284, allocations: 0 / 0.5709 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.5286, allocations: 74.45 kB / 0.571 GB, free: 6.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.5286, allocations: 0 / 0.571 GB, free: 6.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004893/0.5291, allocations: 179.9 kB / 0.5712 GB, free: 5.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.5291, allocations: 59.39 kB / 0.5712 GB, free: 5.863 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.5293, allocations: 170.6 kB / 0.5714 GB, free: 5.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.5293, allocations: 29.52 kB / 0.5714 GB, free: 5.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.5294, allocations: 104.2 kB / 0.5715 GB, free: 5.586 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.5294, allocations: 23.03 kB / 0.5715 GB, free: 5.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.5294, allocations: 0 / 0.5715 GB, free: 5.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5295, allocations: 325.3 kB / 0.5719 GB, free: 5.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.442e-05/0.5296, allocations: 22.55 kB / 0.5719 GB, free: 5.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.948e-05/0.5297, allocations: 37.39 kB / 0.5719 GB, free: 5.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.346e-05/0.5297, allocations: 26.62 kB / 0.5719 GB, free: 5.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.5297, allocations: 4 kB / 0.5719 GB, free: 5.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001748/0.5299, allocations: 105.9 kB / 0.572 GB, free: 5.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5299, allocations: 4 kB / 0.572 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.5299, allocations: 384 / 0.572 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.53, allocations: 4 kB / 0.5721 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.045e-05/0.5301, allocations: 19.23 kB / 0.5721 GB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5301, allocations: 7.953 kB / 0.5721 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.5301, allocations: 4 kB / 0.5721 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.5302, allocations: 4 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 9.755e-05/0.5303, allocations: 136.4 kB / 0.5722 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.5303, allocations: 7.906 kB / 0.5722 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.5305, allocations: 117.5 kB / 0.5723 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.5306, allocations: 0 / 0.5723 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5306, allocations: 4 kB / 0.5723 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5306, allocations: 3.953 kB / 0.5723 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.531, allocations: 416.7 kB / 0.5727 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.531, allocations: 3.984 kB / 0.5727 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.5311, allocations: 8 kB / 0.5728 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.5311, allocations: 0 / 0.5728 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.5311, allocations: 7.938 kB / 0.5728 GB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.5311, allocations: 3.953 kB / 0.5728 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5311, allocations: 0 / 0.5728 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.5314, allocations: 223.5 kB / 0.573 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.5315, allocations: 91.64 kB / 0.5731 GB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.5315, allocations: 4.828 kB / 0.5731 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.5316, allocations: 9.016 kB / 0.5731 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.5317, allocations: 8.875 kB / 0.5731 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.5317, allocations: 0.5625 kB / 0.5731 GB, free: 3.992 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.5318, allocations: 146.5 kB / 0.5732 GB, free: 3.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5318, allocations: 0 / 0.5732 GB, free: 3.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000268/0.5321, allocations: 43.89 kB / 0.5733 GB, free: 3.828 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.001399/0.5335, allocations: 1.202 MB / 0.5744 GB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.5338, allocations: 63.12 kB / 0.5745 GB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.5338, allocations: 4 kB / 0.5745 GB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.5339, allocations: 27.73 kB / 0.5745 GB, free: 2.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.5343, allocations: 27.73 kB / 0.5746 GB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.5358, allocations: 0.8721 MB / 0.5754 GB, free: 1.734 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.5361, allocations: 0.7082 MB / 0.5761 GB, free: 1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.477e-05/0.5362, allocations: 12.56 kB / 0.5761 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.5362, allocations: 42.34 kB / 0.5762 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5362, allocations: 3.938 kB / 0.5762 GB, free: 0.957 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.5495, allocations: 2.992 MB / 0.5791 GB, free: 13.99 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/0.5498, allocations: 213.7 kB / 0.5793 GB, free: 13.74 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/2.136, allocations: 0 / 0.5793 GB, free: 13.74 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat