Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.001166/0.001166, allocations: 180 kB / 14.15 MB, free: 1.176 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.527/1.527, allocations: 221.3 MB / 236 MB, free: 2.977 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.0008797/0.0008799, allocations: 83.25 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.759e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1881, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5637/0.7519, allocations: 89.23 MB / 0.5889 GB, free: 4 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000375/0.7523, allocations: 74.27 kB / 0.589 GB, free: 15.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02326/0.7756, allocations: 5.754 MB / 0.5946 GB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.7757, allocations: 0 / 0.5946 GB, free: 10.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.7757, allocations: 0 / 0.5946 GB, free: 10.2 MB / 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.0006512/0.7763, allocations: 410.3 kB / 0.595 GB, free: 9.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.7764, allocations: 8.031 kB / 0.595 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/0.7765, allocations: 34.55 kB / 0.5951 GB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.7766, allocations: 15.81 kB / 0.5951 GB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.777, allocations: 218.8 kB / 0.5953 GB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.777, allocations: 11.95 kB / 0.5953 GB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.7771, allocations: 4 kB / 0.5953 GB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.7773, allocations: 49.69 kB / 0.5953 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.7773, allocations: 3.906 kB / 0.5954 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.7773, allocations: 0 / 0.5954 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.7773, allocations: 3.938 kB / 0.5954 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.741e-05/0.7774, allocations: 19.98 kB / 0.5954 GB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.778, allocations: 308.8 kB / 0.5957 GB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.7782, allocations: 54.69 kB / 0.5957 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.337e-05/0.7783, allocations: 20.98 kB / 0.5957 GB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.7783, allocations: 0 / 0.5957 GB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.7785, allocations: 71.33 kB / 0.5958 GB, free: 8.812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.7785, allocations: 0 / 0.5958 GB, free: 8.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006511/0.7792, allocations: 161.1 kB / 0.596 GB, free: 8.648 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.7793, allocations: 59.33 kB / 0.596 GB, free: 8.578 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.7796, allocations: 201.8 kB / 0.5962 GB, free: 8.367 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.7796, allocations: 25.7 kB / 0.5962 GB, free: 8.336 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.7798, allocations: 108.1 kB / 0.5963 GB, free: 8.227 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.7798, allocations: 19.72 kB / 0.5964 GB, free: 8.207 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.7798, allocations: 0 / 0.5964 GB, free: 8.207 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.78, allocations: 334.8 kB / 0.5967 GB, free: 7.871 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.779e-05/0.7801, allocations: 16 kB / 0.5967 GB, free: 7.855 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.128e-05/0.7802, allocations: 37.7 kB / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.92e-05/0.7803, allocations: 20 kB / 0.5967 GB, free: 7.793 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.7803, allocations: 0 / 0.5967 GB, free: 7.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002579/0.7805, allocations: 105.5 kB / 0.5968 GB, free: 7.684 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.7806, allocations: 5.406 kB / 0.5969 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.7806, allocations: 0 / 0.5969 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.7806, allocations: 4 kB / 0.5969 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.7808, allocations: 20.02 kB / 0.5969 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.7808, allocations: 0 / 0.5969 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.863e-05/0.7809, allocations: 8 kB / 0.5969 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.7809, allocations: 0 / 0.5969 GB, free: 7.648 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 0.0001052/0.781, allocations: 116.9 kB / 0.597 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.7811, allocations: 15.81 kB / 0.597 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.7814, allocations: 115.1 kB / 0.5971 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.7814, allocations: 3.984 kB / 0.5971 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7814, allocations: 4 kB / 0.5971 GB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.7814, allocations: 0 / 0.5971 GB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007001/0.7822, allocations: 427.2 kB / 0.5975 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7822, allocations: 0 / 0.5975 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/0.7823, allocations: 15.92 kB / 0.5976 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.7823, allocations: 4 kB / 0.5976 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.7823, allocations: 288 / 0.5976 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7823, allocations: 0 / 0.5976 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.7823, allocations: 4 kB / 0.5976 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.7827, allocations: 225.9 kB / 0.5978 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.7828, allocations: 100.9 kB / 0.5979 GB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.7829, allocations: 0 / 0.5979 GB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.783, allocations: 4 kB / 0.5979 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.7831, allocations: 15.94 kB / 0.5979 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.7831, allocations: 4 kB / 0.5979 GB, free: 6.496 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002806/0.7834, allocations: 172.3 kB / 0.5981 GB, free: 6.328 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7834, allocations: 0 / 0.5981 GB, free: 6.328 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005128/0.7839, allocations: 35.92 kB / 0.5981 GB, free: 6.293 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.002565/0.7865, allocations: 1.143 MB / 0.5992 GB, free: 5.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.7868, allocations: 59.92 kB / 0.5993 GB, free: 5.172 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.7869, allocations: 64 / 0.5993 GB, free: 5.172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.841e-05/0.787, allocations: 35.94 kB / 0.5993 GB, free: 5.137 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.7875, allocations: 29.78 kB / 0.5993 GB, free: 5.105 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.7886, allocations: 257.1 kB / 0.5996 GB, free: 4.816 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.7891, allocations: 0.7121 MB / 0.6003 GB, free: 4.078 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.927e-05/0.7892, allocations: 24.61 kB / 0.6003 GB, free: 4.055 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.7894, allocations: 35.42 kB / 0.6003 GB, free: 4.02 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/0.7894, allocations: 0 / 0.6003 GB, free: 4.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/0.8094, allocations: 3.219 MB / 0.6035 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003072/0.8098, allocations: 191 kB / 0.6037 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.591, allocations: 0 / 0.6037 GB, free: 0.6641 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat