Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",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.001409/0.001409, allocations: 182.9 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.819/1.819, 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.001069/0.001069, allocations: 86.88 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.2323/0.2323, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003382, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.131, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3802/0.5112, allocations: 87.72 MB / 0.5645 GB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.5115, allocations: 79.33 kB / 0.5646 GB, free: 11.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0141/0.5256, allocations: 5.378 MB / 0.5698 GB, free: 7.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5257, allocations: 0 / 0.5698 GB, free: 7.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.5257, allocations: 0 / 0.5698 GB, free: 7.41 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.0004734/0.5262, allocations: 420.8 kB / 0.5702 GB, free: 6.961 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.5262, allocations: 12.03 kB / 0.5703 GB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.5263, allocations: 38.48 kB / 0.5703 GB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.5263, allocations: 7.906 kB / 0.5703 GB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.5266, allocations: 213.6 kB / 0.5705 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.5266, allocations: 3.375 kB / 0.5705 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.5266, allocations: 4 kB / 0.5705 GB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.5268, allocations: 52.3 kB / 0.5706 GB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.5268, allocations: 0 / 0.5706 GB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.5268, allocations: 4 kB / 0.5706 GB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5268, allocations: 4 kB / 0.5706 GB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.5269, allocations: 34.77 kB / 0.5706 GB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.5273, allocations: 298.9 kB / 0.5709 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.5274, allocations: 57.73 kB / 0.5709 GB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.5274, allocations: 4 kB / 0.5709 GB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.5276, allocations: 66.58 kB / 0.571 GB, free: 6.113 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.5276, allocations: 4 kB / 0.571 GB, free: 6.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005228/0.5281, allocations: 173.6 kB / 0.5712 GB, free: 5.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.5282, allocations: 54.84 kB / 0.5712 GB, free: 5.902 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.5283, allocations: 176.1 kB / 0.5714 GB, free: 5.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.5284, allocations: 25.7 kB / 0.5714 GB, free: 5.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.5284, allocations: 106.6 kB / 0.5715 GB, free: 5.617 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.5285, allocations: 26.77 kB / 0.5716 GB, free: 5.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.5285, allocations: 4 kB / 0.5716 GB, free: 5.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5286, allocations: 318.6 kB / 0.5719 GB, free: 5.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/0.5287, allocations: 22.98 kB / 0.5719 GB, free: 5.262 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.988e-05/0.5287, allocations: 40.2 kB / 0.5719 GB, free: 5.227 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.66e-05/0.5288, allocations: 23.44 kB / 0.5719 GB, free: 5.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5288, allocations: 0 / 0.5719 GB, free: 5.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001773/0.529, allocations: 106.7 kB / 0.572 GB, free: 5.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.529, allocations: 4 kB / 0.572 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.529, allocations: 0 / 0.572 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.529, allocations: 192 / 0.572 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.5291, allocations: 23.55 kB / 0.5721 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.5291, allocations: 12.03 kB / 0.5721 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.5292, allocations: 0 / 0.5721 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.5292, allocations: 7.938 kB / 0.5721 GB, free: 5.074 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.304e-05/0.5293, allocations: 133 kB / 0.5722 GB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.5293, allocations: 11.91 kB / 0.5722 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.5296, allocations: 119.3 kB / 0.5723 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5296, allocations: 0 / 0.5723 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.5296, allocations: 0 / 0.5723 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5296, allocations: 3.953 kB / 0.5723 GB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/0.5301, allocations: 412.1 kB / 0.5727 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5301, allocations: 0 / 0.5727 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.5301, allocations: 19.48 kB / 0.5728 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5301, allocations: 0 / 0.5728 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.5302, allocations: 0 / 0.5728 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.5302, allocations: 11.89 kB / 0.5728 GB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5302, allocations: 384 / 0.5728 GB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.5304, allocations: 217.9 kB / 0.573 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/0.5305, allocations: 91.38 kB / 0.5731 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.5305, allocations: 13.08 kB / 0.5731 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.5306, allocations: 1.312 kB / 0.5731 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.5307, allocations: 8.609 kB / 0.5731 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.5307, allocations: 5.125 kB / 0.5731 GB, free: 4.023 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.5308, allocations: 146.1 kB / 0.5732 GB, free: 3.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5308, allocations: 4 kB / 0.5732 GB, free: 3.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002598/0.5311, allocations: 35.72 kB / 0.5733 GB, free: 3.863 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.001403/0.5325, allocations: 1.199 MB / 0.5744 GB, free: 2.723 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.5327, allocations: 63.66 kB / 0.5745 GB, free: 2.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5327, allocations: 0 / 0.5745 GB, free: 2.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.323e-05/0.5328, allocations: 37.78 kB / 0.5745 GB, free: 2.648 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.533, allocations: 23.86 kB / 0.5746 GB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.5342, allocations: 0.8725 MB / 0.5754 GB, free: 1.766 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.5345, allocations: 0.7004 MB / 0.5761 GB, free: 1.039 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.03e-05/0.5346, allocations: 24.53 kB / 0.5761 GB, free: 1.016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.5346, allocations: 35.8 kB / 0.5762 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of SimCode: time 2.935e-06/0.5346, allocations: 112 / 0.5762 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.5499, allocations: 3.003 MB / 0.5791 GB, free: 14.02 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.5501, allocations: 213.8 kB / 0.5793 GB, free: 13.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/2.07, allocations: 0 / 0.5793 GB, free: 13.77 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat