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.001394/0.001394, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009106/0.0009105, allocations: 96.72 kB / 281.6 MB, free: 5.328 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.1992/0.1992, allocations: 44.16 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.338e-05/2.343e-05, allocations: 8.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3482/0.462, allocations: 88.55 MB / 0.5813 GB, free: 7.902 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.4623, allocations: 71.97 kB / 0.5813 GB, free: 7.832 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01687/0.4792, allocations: 5.601 MB / 0.5868 GB, free: 2.246 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4792, allocations: 0.75 kB / 0.5868 GB, free: 2.246 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.4793, allocations: 0 / 0.5868 GB, free: 2.246 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007033/0.48, allocations: 406.2 kB / 0.5872 GB, free: 1.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.48, allocations: 15.98 kB / 0.5872 GB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.4801, allocations: 11.81 kB / 0.5872 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.4805, allocations: 207.6 kB / 0.5874 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.4805, allocations: 7.953 kB / 0.5874 GB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.4806, allocations: 4 kB / 0.5874 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.112e-05/0.4807, allocations: 19.94 kB / 0.5874 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.4808, allocations: 57.61 kB / 0.5875 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4808, allocations: 0 / 0.5875 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4808, allocations: 0 / 0.5875 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4808, allocations: 3.938 kB / 0.5875 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.4813, allocations: 273.5 kB / 0.5878 GB, free: 1.129 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.4814, allocations: 50.69 kB / 0.5878 GB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/0.4815, allocations: 24.97 kB / 0.5878 GB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.4815, allocations: 0 / 0.5878 GB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.4816, allocations: 63.34 kB / 0.5879 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.4817, allocations: 0 / 0.5879 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004888/0.4822, allocations: 149.2 kB / 0.588 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.4822, allocations: 51.41 kB / 0.5881 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.4825, allocations: 175.7 kB / 0.5882 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.4825, allocations: 33.64 kB / 0.5883 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.286e-05/0.4826, allocations: 108.1 kB / 0.5884 GB, free: 432 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.4826, allocations: 23.64 kB / 0.5884 GB, free: 408 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.4826, allocations: 0 / 0.5884 GB, free: 408 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4828, allocations: 326.8 kB / 0.5887 GB, free: 72 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.452e-05/0.4828, allocations: 12 kB / 0.5887 GB, free: 60 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.027e-05/0.4829, allocations: 29.72 kB / 0.5888 GB, free: 24 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.483, allocations: 31.98 kB / 0.5888 GB, free: 15.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.483, allocations: 0 / 0.5888 GB, free: 15.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001562/0.4832, allocations: 97.47 kB / 0.5889 GB, free: 15.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4832, allocations: 5.406 kB / 0.5889 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.4832, allocations: 0 / 0.5889 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4832, allocations: 0 / 0.5889 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4833, allocations: 19.98 kB / 0.5889 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4834, allocations: 0 / 0.5889 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.4834, allocations: 4.188 kB / 0.5889 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.4834, allocations: 4 kB / 0.5889 GB, free: 15.86 MB / 410.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 () * 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.66e-05/0.4835, allocations: 119.6 kB / 0.589 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001401/0.4837, allocations: 93.44 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.4837, allocations: 15.91 kB / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.484, allocations: 111.6 kB / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.484, allocations: 3.984 kB / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.484, allocations: 0 / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.484, allocations: 0 / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.4845, allocations: 396 kB / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4845, allocations: 4 kB / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.4845, allocations: 15.92 kB / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.4845, allocations: 0 / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.4846, allocations: 0 / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4846, allocations: 4 kB / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4846, allocations: 0 / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.4848, allocations: 214.1 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.4849, allocations: 100.9 kB / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.4849, allocations: 0 / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.485, allocations: 4 kB / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.485, allocations: 11.94 kB / 0.59 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.485, allocations: 0 / 0.59 GB, free: 14.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.4852, allocations: 148 kB / 0.5901 GB, free: 14.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4852, allocations: 0 / 0.5901 GB, free: 14.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000278/0.4855, allocations: 35.94 kB / 0.5901 GB, free: 14.5 MB / 410.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) * 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.001606/0.4871, allocations: 1.093 MB / 0.5912 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.4872, allocations: 51.98 kB / 0.5912 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4873, allocations: 0 / 0.5912 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/0.4873, allocations: 32 kB / 0.5913 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.4877, allocations: 30.55 kB / 0.5913 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/0.4882, allocations: 223.1 kB / 0.5915 GB, free: 13.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.4886, allocations: 0.7118 MB / 0.5922 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.648e-05/0.4887, allocations: 32.77 kB / 0.5922 GB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.4888, allocations: 35.42 kB / 0.5923 GB, free: 12.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.693e-06/0.4888, allocations: 4 kB / 0.5923 GB, free: 12.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.5119, allocations: 2.718 MB / 0.5949 GB, free: 9.586 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.5122, allocations: 159.6 kB / 0.5951 GB, free: 9.398 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.075, allocations: 0 / 0.5951 GB, free: 9.398 MB / 410.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