Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 176.8 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008908/0.0008908, allocations: 94.7 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4566/0.4566, allocations: 44.22 MB / 387.5 MB, free: 39.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003501, allocations: 15.98 kB / 460 MB, free: 1.672 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.35, allocations: 61.9 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.4795, allocations: 89.35 MB / 0.5969 GB, free: 5.797 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004497/0.4801, allocations: 83.92 kB / 0.597 GB, free: 5.723 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02267/0.5028, allocations: 6.019 MB / 0.6029 GB, free: 15.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5029, allocations: 0 / 0.6029 GB, free: 15.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.432e-05/0.5029, allocations: 4 kB / 0.6029 GB, free: 15.7 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008217/0.5037, allocations: 450.6 kB / 0.6033 GB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.5038, allocations: 12.03 kB / 0.6033 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.045e-05/0.5039, allocations: 34.56 kB / 0.6033 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.504, allocations: 7.906 kB / 0.6033 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.5044, allocations: 225.7 kB / 0.6036 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.5045, allocations: 3.953 kB / 0.6036 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.5045, allocations: 11.98 kB / 0.6036 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.5047, allocations: 57.67 kB / 0.6036 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.5048, allocations: 0 / 0.6036 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.5048, allocations: 0 / 0.6036 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5048, allocations: 0 / 0.6036 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.5049, allocations: 35.92 kB / 0.6037 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.5055, allocations: 312.7 kB / 0.604 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.5059, allocations: 66.53 kB / 0.604 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.5059, allocations: 0 / 0.604 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.5061, allocations: 79.45 kB / 0.6041 GB, free: 14.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.5061, allocations: 0 / 0.6041 GB, free: 14.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001008/0.5071, allocations: 245.3 kB / 0.6043 GB, free: 14.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.5072, allocations: 51.41 kB / 0.6044 GB, free: 13.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.5075, allocations: 201.8 kB / 0.6046 GB, free: 13.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.5076, allocations: 29.7 kB / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.5077, allocations: 108.1 kB / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.5077, allocations: 35.55 kB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.5077, allocations: 3.938 kB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.5079, allocations: 334.8 kB / 0.6051 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.5081, allocations: 27.98 kB / 0.6051 GB, free: 13.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.5082, allocations: 45.7 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.5083, allocations: 39.92 kB / 0.6052 GB, free: 13.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5083, allocations: 0 / 0.6052 GB, free: 13.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003221/0.5086, allocations: 133.5 kB / 0.6053 GB, free: 12.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.5087, allocations: 11.98 kB / 0.6053 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5087, allocations: 0 / 0.6053 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.5087, allocations: 0 / 0.6053 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.5088, allocations: 19.94 kB / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.5088, allocations: 4 kB / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.5089, allocations: 3.984 kB / 0.6053 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.509, allocations: 8 kB / 0.6053 GB, free: 12.91 MB / 426.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 (13): * Single equations (assignments): 13 * 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.0001739/0.5091, allocations: 141.8 kB / 0.6055 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.5092, allocations: 15.81 kB / 0.6055 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/0.5096, allocations: 151.7 kB / 0.6056 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.5096, allocations: 4 kB / 0.6056 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5096, allocations: 3.938 kB / 0.6056 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.5096, allocations: 0 / 0.6056 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007734/0.5104, allocations: 483.9 kB / 0.6061 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5104, allocations: 0 / 0.6061 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.5105, allocations: 15.98 kB / 0.6061 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.5105, allocations: 4 kB / 0.6061 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.5106, allocations: 4 kB / 0.6061 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5106, allocations: 0 / 0.6061 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5106, allocations: 7.953 kB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.511, allocations: 260.5 kB / 0.6064 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.5111, allocations: 92.97 kB / 0.6065 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.5112, allocations: 11.98 kB / 0.6065 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.5113, allocations: 0 / 0.6065 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.5113, allocations: 11.98 kB / 0.6065 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.5114, allocations: 12 kB / 0.6065 GB, free: 11.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001582/0.5115, allocations: 172.2 kB / 0.6067 GB, free: 11.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5115, allocations: 96 / 0.6067 GB, free: 11.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002896/0.5118, allocations: 47.88 kB / 0.6067 GB, free: 11.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001868/0.5137, allocations: 1.352 MB / 0.608 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.5139, allocations: 83.91 kB / 0.6081 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.514, allocations: 0 / 0.6081 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.36e-05/0.5141, allocations: 40.11 kB / 0.6082 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.5143, allocations: 37.05 kB / 0.6082 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.516, allocations: 1.026 MB / 0.6092 GB, free: 8.957 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.5164, allocations: 0.7238 MB / 0.6099 GB, free: 8.207 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.977e-05/0.5165, allocations: 20.64 kB / 0.6099 GB, free: 8.188 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.21e-05/0.5166, allocations: 47.41 kB / 0.61 GB, free: 8.141 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5166, allocations: 0 / 0.61 GB, free: 8.141 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.5348, allocations: 3.514 MB / 0.6134 GB, free: 4.762 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/0.5352, allocations: 228.3 kB / 0.6136 GB, free: 4.512 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.218, allocations: 0 / 0.6136 GB, free: 4.512 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat