Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",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.001472/0.001472, allocations: 176.9 kB / 8.742 MB, free: 344 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.507/1.507, allocations: 221.5 MB / 230.7 MB, free: 7.508 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.0008902/0.0008905, allocations: 95.05 kB / 281.6 MB, free: 5.254 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.1946/0.1946, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.004e-05/2.006e-05, allocations: 4.219 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1406, allocations: 61.92 MB / 0.4948 GB, free: 1.129 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4155/0.5561, allocations: 88.55 MB / 0.5813 GB, free: 7.773 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.5564, allocations: 75.95 kB / 0.5813 GB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02191/0.5784, allocations: 5.575 MB / 0.5868 GB, free: 2.145 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5784, allocations: 0 / 0.5868 GB, free: 2.145 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.017e-05/0.5784, allocations: 7.938 kB / 0.5868 GB, free: 2.137 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.0006858/0.5791, allocations: 410.2 kB / 0.5872 GB, free: 1.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/0.5792, allocations: 11.98 kB / 0.5872 GB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.324e-05/0.5793, allocations: 11.81 kB / 0.5872 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.5798, allocations: 211.6 kB / 0.5874 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.5798, allocations: 3.953 kB / 0.5874 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.5799, allocations: 4 kB / 0.5874 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000113/0.58, allocations: 12 kB / 0.5874 GB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.5802, allocations: 57.61 kB / 0.5875 GB, free: 1.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.5802, allocations: 4 kB / 0.5875 GB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.5802, allocations: 3.938 kB / 0.5875 GB, free: 1.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5802, allocations: 0 / 0.5875 GB, free: 1.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.5808, allocations: 269.5 kB / 0.5877 GB, free: 1.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.5809, allocations: 46.69 kB / 0.5878 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.581, allocations: 16.98 kB / 0.5878 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.581, allocations: 7.984 kB / 0.5878 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.5813, allocations: 67.33 kB / 0.5879 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.585e-06/0.5813, allocations: 0 / 0.5879 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006377/0.582, allocations: 149.2 kB / 0.588 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.582, allocations: 51.41 kB / 0.5881 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.5823, allocations: 183.6 kB / 0.5882 GB, free: 472 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.5824, allocations: 25.7 kB / 0.5883 GB, free: 440 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.5825, allocations: 108.1 kB / 0.5884 GB, free: 328 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.5825, allocations: 27.64 kB / 0.5884 GB, free: 300 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.5826, allocations: 0 / 0.5884 GB, free: 300 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.5828, allocations: 322.8 kB / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.073e-05/0.5828, allocations: 20 kB / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.879e-05/0.5829, allocations: 29.72 kB / 0.5887 GB, free: 15.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.733e-05/0.583, allocations: 23.94 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.583, allocations: 4 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000253/0.5833, allocations: 89.53 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.5833, allocations: 4 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.5834, allocations: 0 / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.5834, allocations: 4 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.5836, allocations: 15.98 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5836, allocations: 0 / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.5837, allocations: 4 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.5837, allocations: 4.188 kB / 0.5889 GB, free: 15.76 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.616e-05/0.5838, allocations: 109 kB / 0.589 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002225/0.584, allocations: 109.5 kB / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.5841, allocations: 11.91 kB / 0.5891 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.5844, allocations: 115.7 kB / 0.5892 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5845, allocations: 3.984 kB / 0.5892 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.5845, allocations: 0 / 0.5892 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.5845, allocations: 4 kB / 0.5892 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/0.5852, allocations: 391.7 kB / 0.5896 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5852, allocations: 3.938 kB / 0.5896 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.5853, allocations: 8 kB / 0.5896 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.5853, allocations: 0 / 0.5896 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.5853, allocations: 7.984 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5853, allocations: 0 / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.5853, allocations: 0 / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.5856, allocations: 218.1 kB / 0.5898 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-05/0.5858, allocations: 92.92 kB / 0.5899 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.5858, allocations: 3.984 kB / 0.5899 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.586, allocations: 4 kB / 0.5899 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.586, allocations: 15.94 kB / 0.5899 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.5861, allocations: 4 kB / 0.5899 GB, free: 14.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001797/0.5863, allocations: 140 kB / 0.5901 GB, free: 14.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5863, allocations: 0 / 0.5901 GB, free: 14.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004851/0.5868, allocations: 39.94 kB / 0.5901 GB, free: 14.4 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.001967/0.5888, allocations: 1.094 MB / 0.5912 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.589, allocations: 51.98 kB / 0.5912 GB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.589, allocations: 0 / 0.5912 GB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.5891, allocations: 36 kB / 0.5913 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.5896, allocations: 23.94 kB / 0.5913 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009214/0.5905, allocations: 223.4 kB / 0.5915 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.591, allocations: 0.7119 MB / 0.5922 GB, free: 12.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.503e-05/0.5911, allocations: 32.75 kB / 0.5922 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.5912, allocations: 35.42 kB / 0.5923 GB, free: 12.19 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5912, allocations: 7.875 kB / 0.5923 GB, free: 12.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.6172, allocations: 2.708 MB / 0.5949 GB, free: 9.492 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003098/0.6176, allocations: 177.9 kB / 0.5951 GB, free: 9.289 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.261, allocations: 0 / 0.5951 GB, free: 9.289 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat