Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",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.001032/0.001032, allocations: 185 kB / 15.76 MB, free: 6.367 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.885/1.885, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009862/0.0009865, allocations: 94.86 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.2277/0.2277, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1283, allocations: 58.87 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4018/0.5301, allocations: 87.71 MB / 0.5645 GB, free: 12.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003866/0.5306, allocations: 75.53 kB / 0.5646 GB, free: 11.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02356/0.5542, allocations: 5.587 MB / 0.57 GB, free: 7.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5543, allocations: 0 / 0.57 GB, free: 7.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.5543, allocations: 0 / 0.57 GB, free: 7.254 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.0008031/0.5551, allocations: 437.3 kB / 0.5705 GB, free: 6.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.5552, allocations: 12.03 kB / 0.5705 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.5553, allocations: 34.56 kB / 0.5705 GB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.733e-05/0.5554, allocations: 11.89 kB / 0.5705 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.5559, allocations: 232.9 kB / 0.5707 GB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.5559, allocations: 7.875 kB / 0.5707 GB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.556, allocations: 4 kB / 0.5707 GB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.5562, allocations: 52.86 kB / 0.5708 GB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.5562, allocations: 0 / 0.5708 GB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.5562, allocations: 3.938 kB / 0.5708 GB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.5562, allocations: 4 kB / 0.5708 GB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.5564, allocations: 22.36 kB / 0.5708 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005115/0.5569, allocations: 302.3 kB / 0.5711 GB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.5571, allocations: 61.8 kB / 0.5712 GB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.5571, allocations: 3.984 kB / 0.5712 GB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.5573, allocations: 75.33 kB / 0.5713 GB, free: 5.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.023e-06/0.5573, allocations: 0 / 0.5713 GB, free: 5.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005962/0.5579, allocations: 182.8 kB / 0.5714 GB, free: 5.766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.558, allocations: 59.39 kB / 0.5715 GB, free: 5.695 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.5582, allocations: 193 kB / 0.5717 GB, free: 5.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.5582, allocations: 33.27 kB / 0.5717 GB, free: 5.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.5583, allocations: 101.7 kB / 0.5718 GB, free: 5.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.5583, allocations: 34.38 kB / 0.5718 GB, free: 5.367 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.5583, allocations: 4 kB / 0.5718 GB, free: 5.363 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5584, allocations: 325.8 kB / 0.5721 GB, free: 5.043 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-05/0.5585, allocations: 23.31 kB / 0.5722 GB, free: 5.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.5586, allocations: 33.14 kB / 0.5722 GB, free: 4.996 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.145e-05/0.5586, allocations: 31.61 kB / 0.5722 GB, free: 4.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.5587, allocations: 0 / 0.5722 GB, free: 4.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002592/0.5589, allocations: 107.6 kB / 0.5723 GB, free: 4.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.559, allocations: 8 kB / 0.5723 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.559, allocations: 0 / 0.5723 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.559, allocations: 0 / 0.5723 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.5591, allocations: 12 kB / 0.5723 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.5592, allocations: 7.953 kB / 0.5724 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.258e-05/0.5592, allocations: 7.484 kB / 0.5724 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.5593, allocations: 4 kB / 0.5724 GB, free: 4.844 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.902e-05/0.5594, allocations: 125.2 kB / 0.5725 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.5594, allocations: 19.92 kB / 0.5725 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.5597, allocations: 128.2 kB / 0.5726 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.5597, allocations: 0 / 0.5726 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5597, allocations: 0 / 0.5726 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.5597, allocations: 3.953 kB / 0.5726 GB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006325/0.5603, allocations: 419.3 kB / 0.573 GB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5604, allocations: 32 / 0.573 GB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.205e-05/0.5604, allocations: 23.88 kB / 0.5731 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.5604, allocations: 0 / 0.5731 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.5605, allocations: 5.109 kB / 0.5731 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5605, allocations: 3.953 kB / 0.5731 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5605, allocations: 4 kB / 0.5731 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.5608, allocations: 224.4 kB / 0.5733 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/0.5609, allocations: 96.25 kB / 0.5734 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.561, allocations: 3.953 kB / 0.5734 GB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.561, allocations: 7.188 kB / 0.5734 GB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.5611, allocations: 7.984 kB / 0.5734 GB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.5611, allocations: 4 kB / 0.5734 GB, free: 3.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.5613, allocations: 170.7 kB / 0.5736 GB, free: 3.633 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5613, allocations: 0 / 0.5736 GB, free: 3.633 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002923/0.5616, allocations: 31.25 kB / 0.5736 GB, free: 3.605 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.001686/0.5633, allocations: 1.208 MB / 0.5748 GB, free: 2.457 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.5635, allocations: 68.27 kB / 0.5748 GB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5635, allocations: 0 / 0.5748 GB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/0.5636, allocations: 30.44 kB / 0.5749 GB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.5639, allocations: 26.72 kB / 0.5749 GB, free: 2.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.5654, allocations: 0.9418 MB / 0.5758 GB, free: 1.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.5657, allocations: 0.716 MB / 0.5765 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.368e-05/0.5658, allocations: 16.5 kB / 0.5765 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.5659, allocations: 40.97 kB / 0.5766 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of SimCode: time 5.189e-06/0.5659, allocations: 4 kB / 0.5766 GB, free: 0.668 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.5864, allocations: 3.219 MB / 0.5797 GB, free: 13.47 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.5867, allocations: 213.8 kB / 0.5799 GB, free: 13.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.219, allocations: 4 kB / 0.5799 GB, free: 13.23 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat