Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",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.001239/0.001239, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.437/1.437, allocations: 223.2 MB / 241 MB, free: 10.16 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.0008221/0.000822, allocations: 98.02 kB / 292.1 MB, free: 10.7 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.3596/0.3596, allocations: 44.22 MB / 387.5 MB, free: 38.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004162, allocations: 12 kB / 460 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3803, allocations: 61.9 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.5127, allocations: 89.29 MB / 0.5968 GB, free: 5.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.513, allocations: 87.91 kB / 0.5969 GB, free: 5.734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01522/0.5282, allocations: 5.648 MB / 0.6024 GB, free: 88 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5282, allocations: 3.938 kB / 0.6024 GB, free: 84 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.5283, allocations: 0 / 0.6024 GB, free: 84 kB / 410.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.0005395/0.5288, allocations: 430.8 kB / 0.6029 GB, free: 15.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.5289, allocations: 8.031 kB / 0.6029 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.26e-05/0.5289, allocations: 38.56 kB / 0.6029 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.529, allocations: 19.75 kB / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.5293, allocations: 216.2 kB / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.5293, allocations: 3.953 kB / 0.6031 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.5293, allocations: 4 kB / 0.6031 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.5295, allocations: 53.67 kB / 0.6032 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5295, allocations: 0 / 0.6032 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.5295, allocations: 0 / 0.6032 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5295, allocations: 0 / 0.6032 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.5296, allocations: 31.92 kB / 0.6032 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.53, allocations: 292.9 kB / 0.6035 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.5302, allocations: 54.69 kB / 0.6035 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.5302, allocations: 0 / 0.6035 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.5304, allocations: 79.44 kB / 0.6036 GB, free: 14.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.5304, allocations: 4 kB / 0.6036 GB, free: 14.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005464/0.531, allocations: 177 kB / 0.6038 GB, free: 14.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.531, allocations: 55.41 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.5312, allocations: 186.5 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.5312, allocations: 25.7 kB / 0.604 GB, free: 14.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.5313, allocations: 100.1 kB / 0.6041 GB, free: 14.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.5314, allocations: 27.64 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.5314, allocations: 8 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5315, allocations: 327 kB / 0.6045 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.5316, allocations: 23.98 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.116e-05/0.5316, allocations: 37.7 kB / 0.6045 GB, free: 13.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.75e-05/0.5317, allocations: 20 kB / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5317, allocations: 0 / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001833/0.5319, allocations: 113.6 kB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.5319, allocations: 4 kB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5319, allocations: 0 / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.532, allocations: 0 / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/0.5321, allocations: 23.92 kB / 0.6047 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5321, allocations: 0 / 0.6047 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.5321, allocations: 0 / 0.6047 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.5321, allocations: 8.125 kB / 0.6047 GB, free: 13.52 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 (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 0.0001229/0.5323, allocations: 135.3 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.5323, allocations: 19.78 kB / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.5326, allocations: 119 kB / 0.605 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5326, allocations: 0 / 0.605 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.5326, allocations: 4 kB / 0.605 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5326, allocations: 0 / 0.605 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.5331, allocations: 415.2 kB / 0.6054 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5331, allocations: 0 / 0.6054 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/0.5332, allocations: 16.03 kB / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5332, allocations: 0 / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.5332, allocations: 4 kB / 0.6054 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5332, allocations: 4 kB / 0.6054 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5332, allocations: 3.984 kB / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.5335, allocations: 229.8 kB / 0.6056 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.953e-05/0.5336, allocations: 96.98 kB / 0.6057 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.5336, allocations: 4 kB / 0.6057 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.5337, allocations: 0 / 0.6057 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.5337, allocations: 15.88 kB / 0.6057 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.5338, allocations: 8.375 kB / 0.6057 GB, free: 12.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.5339, allocations: 148.9 kB / 0.6059 GB, free: 12.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5339, allocations: 0 / 0.6059 GB, free: 12.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002661/0.5342, allocations: 35.94 kB / 0.6059 GB, free: 12.16 MB / 426.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.001663/0.5359, allocations: 1.199 MB / 0.6071 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.5361, allocations: 63.91 kB / 0.6071 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5361, allocations: 0 / 0.6071 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.368e-05/0.5362, allocations: 31.98 kB / 0.6072 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.5364, allocations: 30.48 kB / 0.6072 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.5377, allocations: 0.9013 MB / 0.6081 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.5382, allocations: 0.7082 MB / 0.6088 GB, free: 9.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.733e-05/0.5382, allocations: 12.56 kB / 0.6088 GB, free: 9.309 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.5384, allocations: 39.42 kB / 0.6088 GB, free: 9.27 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5384, allocations: 0 / 0.6088 GB, free: 9.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.5544, allocations: 3.08 MB / 0.6118 GB, free: 6.324 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.5546, allocations: 214.2 kB / 0.612 GB, free: 6.082 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.2, allocations: 0 / 0.612 GB, free: 6.082 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat