Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",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.001539/0.001539, allocations: 180.5 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.599/1.599, allocations: 221.4 MB / 236 MB, free: 2.953 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.0009534/0.0009535, allocations: 91.8 kB / 287 MB, free: 252 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.2191/0.2191, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.287e-05/5.289e-05, allocations: 12.22 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1944, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5853/0.7797, allocations: 89.22 MB / 0.5889 GB, free: 48 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.7801, allocations: 72.05 kB / 0.589 GB, free: 15.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01691/0.797, allocations: 5.629 MB / 0.5945 GB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.797, allocations: 0 / 0.5945 GB, free: 10.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.7971, allocations: 4 kB / 0.5945 GB, free: 10.36 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.0004875/0.7976, allocations: 418.2 kB / 0.5949 GB, free: 9.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.7976, allocations: 8.031 kB / 0.5949 GB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.7977, allocations: 34.5 kB / 0.595 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.7977, allocations: 15.81 kB / 0.595 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.798, allocations: 207.6 kB / 0.5952 GB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.7981, allocations: 7.953 kB / 0.5952 GB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.7981, allocations: 7.984 kB / 0.5952 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.7982, allocations: 61.61 kB / 0.5952 GB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.7982, allocations: 0 / 0.5952 GB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.7983, allocations: 3.938 kB / 0.5952 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.7983, allocations: 4 kB / 0.5952 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.072e-05/0.7983, allocations: 19.98 kB / 0.5953 GB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.7987, allocations: 288.9 kB / 0.5955 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.7989, allocations: 62.62 kB / 0.5956 GB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.49e-05/0.7989, allocations: 20.97 kB / 0.5956 GB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.799, allocations: 0 / 0.5956 GB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.7991, allocations: 63.41 kB / 0.5957 GB, free: 8.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.7991, allocations: 0 / 0.5957 GB, free: 8.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004817/0.7996, allocations: 161.1 kB / 0.5958 GB, free: 8.816 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.7996, allocations: 51.41 kB / 0.5959 GB, free: 8.754 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.7999, allocations: 191.7 kB / 0.5961 GB, free: 8.555 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.7999, allocations: 25.7 kB / 0.5961 GB, free: 8.523 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.8, allocations: 100.1 kB / 0.5962 GB, free: 8.422 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.8, allocations: 27.64 kB / 0.5962 GB, free: 8.395 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.8, allocations: 0 / 0.5962 GB, free: 8.395 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.8001, allocations: 326.8 kB / 0.5965 GB, free: 8.066 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.735e-05/0.8002, allocations: 20 kB / 0.5965 GB, free: 8.047 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-05/0.8003, allocations: 37.66 kB / 0.5966 GB, free: 8.004 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.8003, allocations: 27.98 kB / 0.5966 GB, free: 7.977 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.8003, allocations: 0 / 0.5966 GB, free: 7.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001527/0.8005, allocations: 97.56 kB / 0.5967 GB, free: 7.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.8005, allocations: 8.938 kB / 0.5967 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8005, allocations: 0 / 0.5967 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.8005, allocations: 3.938 kB / 0.5967 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.8006, allocations: 12 kB / 0.5967 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.8007, allocations: 4 kB / 0.5967 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.8007, allocations: 8.016 kB / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.8007, allocations: 4 kB / 0.5967 GB, free: 7.836 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 8.084e-05/0.8008, allocations: 113.1 kB / 0.5968 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.8009, allocations: 11.81 kB / 0.5969 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.8011, allocations: 123.1 kB / 0.597 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.8011, allocations: 0 / 0.597 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8011, allocations: 192 / 0.597 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.8011, allocations: 8 kB / 0.597 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.8016, allocations: 411.3 kB / 0.5974 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8016, allocations: 3.938 kB / 0.5974 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.8017, allocations: 11.98 kB / 0.5974 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.8017, allocations: 7.938 kB / 0.5974 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.8017, allocations: 0 / 0.5974 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8017, allocations: 0 / 0.5974 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8017, allocations: 4 kB / 0.5974 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.8019, allocations: 221.8 kB / 0.5976 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.802, allocations: 97 kB / 0.5977 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.802, allocations: 4 kB / 0.5977 GB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.8021, allocations: 0 / 0.5977 GB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.8022, allocations: 15.94 kB / 0.5977 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.8022, allocations: 4 kB / 0.5977 GB, free: 6.707 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001296/0.8023, allocations: 148.9 kB / 0.5979 GB, free: 6.562 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8023, allocations: 4 kB / 0.5979 GB, free: 6.559 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.8026, allocations: 35.94 kB / 0.5979 GB, free: 6.523 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.00139/0.804, allocations: 1.148 MB / 0.599 GB, free: 5.465 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.8041, allocations: 51.94 kB / 0.5991 GB, free: 5.414 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8042, allocations: 3.938 kB / 0.5991 GB, free: 5.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.549e-05/0.8042, allocations: 31.94 kB / 0.5991 GB, free: 5.379 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.8045, allocations: 36.05 kB / 0.5991 GB, free: 5.344 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.8051, allocations: 228.5 kB / 0.5994 GB, free: 5.086 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.8054, allocations: 0.7082 MB / 0.6001 GB, free: 4.352 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.661e-05/0.8054, allocations: 16.42 kB / 0.6001 GB, free: 4.336 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.8055, allocations: 39.42 kB / 0.6001 GB, free: 4.297 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.8055, allocations: 7.938 kB / 0.6001 GB, free: 4.289 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.8196, allocations: 3.059 MB / 0.6031 GB, free: 1.316 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.8199, allocations: 201.9 kB / 0.6033 GB, free: 1.078 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.518, allocations: 8 kB / 0.6033 GB, free: 1.07 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat