Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8",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.00152/0.001525, allocations: 185.7 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.00126/0.00126, allocations: 89.98 kB / 270.9 MB, free: 8.367 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.626/0.626, allocations: 43.56 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004843, allocations: 16 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.14, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.484/0.624, allocations: 87.71 MB / 0.5645 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.6244, allocations: 76.47 kB / 0.5646 GB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02628/0.6507, allocations: 5.891 MB / 0.5703 GB, free: 9.008 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6507, allocations: 0 / 0.5703 GB, free: 9.008 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.6508, allocations: 4 kB / 0.5703 GB, free: 9.004 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007811/0.6516, allocations: 445.6 kB / 0.5707 GB, free: 8.523 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.6516, allocations: 8.031 kB / 0.5708 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.525e-05/0.6517, allocations: 38.56 kB / 0.5708 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.6518, allocations: 15.25 kB / 0.5708 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.6522, allocations: 236 kB / 0.571 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.6523, allocations: 0 / 0.571 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.6523, allocations: 4 kB / 0.571 GB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.6525, allocations: 69.59 kB / 0.5711 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.6526, allocations: 0 / 0.5711 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.6526, allocations: 4 kB / 0.5711 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.6526, allocations: 1.906 kB / 0.5711 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.6528, allocations: 35.97 kB / 0.5711 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005754/0.6534, allocations: 316.8 kB / 0.5714 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.6537, allocations: 74.61 kB / 0.5715 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.6538, allocations: 4 kB / 0.5715 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.654, allocations: 76.28 kB / 0.5716 GB, free: 7.539 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/0.654, allocations: 0 / 0.5716 GB, free: 7.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009412/0.655, allocations: 221.3 kB / 0.5718 GB, free: 7.316 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.655, allocations: 55.41 kB / 0.5719 GB, free: 7.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.6554, allocations: 231.9 kB / 0.5721 GB, free: 7.016 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.6555, allocations: 25.7 kB / 0.5721 GB, free: 6.984 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.6556, allocations: 174.6 kB / 0.5723 GB, free: 6.812 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.6557, allocations: 31.7 kB / 0.5723 GB, free: 6.781 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/0.6557, allocations: 0 / 0.5723 GB, free: 6.781 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.6559, allocations: 318.8 kB / 0.5726 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.656, allocations: 31.92 kB / 0.5726 GB, free: 6.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.6561, allocations: 40.11 kB / 0.5727 GB, free: 6.387 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.6563, allocations: 31.98 kB / 0.5727 GB, free: 6.355 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6563, allocations: 4.75 kB / 0.5727 GB, free: 6.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003416/0.6566, allocations: 113.5 kB / 0.5728 GB, free: 6.234 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6567, allocations: 4.188 kB / 0.5728 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.6567, allocations: 4.078 kB / 0.5728 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.6567, allocations: 3.938 kB / 0.5728 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.6569, allocations: 23.92 kB / 0.5728 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.6569, allocations: 7.938 kB / 0.5729 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.882e-05/0.657, allocations: 8 kB / 0.5729 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.657, allocations: 4 kB / 0.5729 GB, free: 6.18 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001541/0.6572, allocations: 137.8 kB / 0.573 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.6573, allocations: 15.81 kB / 0.573 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.6577, allocations: 147 kB / 0.5732 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6578, allocations: 3.938 kB / 0.5732 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6578, allocations: 0 / 0.5732 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.6578, allocations: 7.938 kB / 0.5732 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008428/0.6586, allocations: 463.2 kB / 0.5736 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.6587, allocations: 0 / 0.5736 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-05/0.6588, allocations: 15.98 kB / 0.5736 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.6588, allocations: 0 / 0.5736 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.6588, allocations: 7.953 kB / 0.5736 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.6588, allocations: 0 / 0.5736 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6588, allocations: 0 / 0.5736 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.6593, allocations: 245.9 kB / 0.5739 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.537e-05/0.6594, allocations: 96.91 kB / 0.574 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.6595, allocations: 11.95 kB / 0.574 GB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.6596, allocations: 7.938 kB / 0.574 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.6597, allocations: 7.984 kB / 0.574 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.6597, allocations: 8 kB / 0.574 GB, free: 4.914 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002742/0.66, allocations: 184.5 kB / 0.5742 GB, free: 4.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.66, allocations: 8 kB / 0.5742 GB, free: 4.727 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003797/0.6604, allocations: 32 kB / 0.5742 GB, free: 4.695 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.00209/0.6625, allocations: 1.203 MB / 0.5754 GB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.6628, allocations: 79.89 kB / 0.5755 GB, free: 3.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6629, allocations: 0 / 0.5755 GB, free: 3.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.663, allocations: 39.92 kB / 0.5755 GB, free: 3.445 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.6634, allocations: 32.3 kB / 0.5755 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.6656, allocations: 1.085 MB / 0.5766 GB, free: 2.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.666, allocations: 0.7277 MB / 0.5773 GB, free: 1.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.6662, allocations: 47.42 kB / 0.5773 GB, free: 1.469 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6662, allocations: 0 / 0.5773 GB, free: 1.469 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.716/3.382, allocations: 2.921 MB / 0.5802 GB, free: 14.55 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat