Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",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.001064/0.001064, allocations: 177 kB / 17.06 MB, free: 5.094 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.319/1.319, allocations: 223.2 MB / 241 MB, free: 11.88 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.000936/0.0009361, allocations: 94.08 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.3871/0.3871, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.000396, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3786, allocations: 61.91 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.4997, allocations: 89.29 MB / 0.5969 GB, free: 5.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.5, allocations: 79.92 kB / 0.5969 GB, free: 5.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01706/0.5171, allocations: 5.593 MB / 0.6024 GB, free: 160 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.267e-06/0.5172, allocations: 7.938 kB / 0.6024 GB, free: 152 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.5172, allocations: 0 / 0.6024 GB, free: 152 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.0007001/0.5179, allocations: 414.9 kB / 0.6028 GB, free: 15.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.677e-05/0.518, allocations: 12.03 kB / 0.6028 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.692e-05/0.5181, allocations: 38.5 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.5181, allocations: 15.78 kB / 0.6029 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.5185, allocations: 215.9 kB / 0.6031 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.5185, allocations: 3.953 kB / 0.6031 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.5186, allocations: 8 kB / 0.6031 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.5187, allocations: 53.67 kB / 0.6031 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.5188, allocations: 0 / 0.6031 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.5188, allocations: 3.984 kB / 0.6031 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.5188, allocations: 0 / 0.6031 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.5189, allocations: 27.92 kB / 0.6032 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.5196, allocations: 288.9 kB / 0.6034 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.5198, allocations: 62.67 kB / 0.6035 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.5199, allocations: 0 / 0.6035 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.5201, allocations: 67.45 kB / 0.6036 GB, free: 14.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.5201, allocations: 0 / 0.6036 GB, free: 14.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008029/0.5209, allocations: 177.2 kB / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.521, allocations: 55.41 kB / 0.6038 GB, free: 14.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.5212, allocations: 175.1 kB / 0.6039 GB, free: 14.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.5213, allocations: 25.7 kB / 0.604 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.5213, allocations: 100.1 kB / 0.6041 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.5214, allocations: 23.66 kB / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.5214, allocations: 4 kB / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5216, allocations: 327 kB / 0.6044 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.5216, allocations: 19.98 kB / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.091e-05/0.5217, allocations: 45.7 kB / 0.6045 GB, free: 13.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.917e-05/0.5218, allocations: 20 kB / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5218, allocations: 0 / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002167/0.522, allocations: 105.4 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.5221, allocations: 8 kB / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5221, allocations: 0 / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.5221, allocations: 0 / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/0.5222, allocations: 15.98 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.5222, allocations: 8.031 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/0.5223, allocations: 0 / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.5223, allocations: 11.88 kB / 0.6046 GB, free: 13.64 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.0001177/0.5224, allocations: 130.3 kB / 0.6048 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.5225, allocations: 11.91 kB / 0.6048 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.5227, allocations: 126.6 kB / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5228, allocations: 384 / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.5228, allocations: 4 kB / 0.6049 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5228, allocations: 0 / 0.6049 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.5233, allocations: 419.2 kB / 0.6053 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.5233, allocations: 0 / 0.6053 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.5234, allocations: 11.98 kB / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.5234, allocations: 4 kB / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.5234, allocations: 0 / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5234, allocations: 0 / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5234, allocations: 4 kB / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.5237, allocations: 225.9 kB / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.161e-05/0.5238, allocations: 93 kB / 0.6056 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.5239, allocations: 0 / 0.6056 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.338e-05/0.524, allocations: 11.98 kB / 0.6056 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.524, allocations: 15.94 kB / 0.6056 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.524, allocations: 4 kB / 0.6056 GB, free: 12.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.5242, allocations: 144 kB / 0.6058 GB, free: 12.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5242, allocations: 4 kB / 0.6058 GB, free: 12.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002909/0.5245, allocations: 35.92 kB / 0.6058 GB, free: 12.3 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.00177/0.5263, allocations: 1.191 MB / 0.607 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.5265, allocations: 71.89 kB / 0.607 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5265, allocations: 0 / 0.607 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.597e-05/0.5266, allocations: 31.98 kB / 0.6071 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.5269, allocations: 30.17 kB / 0.6071 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.5284, allocations: 0.8615 MB / 0.6079 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.5288, allocations: 0.716 MB / 0.6086 GB, free: 9.473 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.332e-05/0.5288, allocations: 20.72 kB / 0.6087 GB, free: 9.453 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.773e-05/0.5289, allocations: 35.42 kB / 0.6087 GB, free: 9.418 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5289, allocations: 0 / 0.6087 GB, free: 9.418 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.5449, allocations: 2.994 MB / 0.6116 GB, free: 6.555 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.5452, allocations: 218.2 kB / 0.6118 GB, free: 6.309 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.129, allocations: 0 / 0.6118 GB, free: 6.309 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat