Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",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.001479/0.001478, allocations: 180.3 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.532/1.532, allocations: 221.3 MB / 236 MB, free: 2.965 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.0008725/0.0008727, allocations: 99.97 kB / 287 MB, free: 248 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.2368/0.2368, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.756e-05/5.832e-05, allocations: 8.156 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1585, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5246/0.6832, allocations: 89.04 MB / 0.5888 GB, free: 136 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.6836, allocations: 72.91 kB / 0.5888 GB, free: 64 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01563/0.6992, allocations: 5.423 MB / 0.5941 GB, free: 10.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6993, allocations: 0 / 0.5941 GB, free: 10.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.6993, allocations: 4 kB / 0.5941 GB, free: 10.65 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00052/0.6998, allocations: 394.1 kB / 0.5945 GB, free: 10.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.6999, allocations: 8.031 kB / 0.5945 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.801e-05/0.7, allocations: 38.55 kB / 0.5945 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.7, allocations: 7.906 kB / 0.5946 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.7004, allocations: 206.8 kB / 0.5948 GB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.7004, allocations: 7.984 kB / 0.5948 GB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.7004, allocations: 3.953 kB / 0.5948 GB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.7005, allocations: 49.69 kB / 0.5948 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.7006, allocations: 0 / 0.5948 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.7006, allocations: 0 / 0.5948 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.7006, allocations: 0 / 0.5948 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.109e-05/0.7007, allocations: 19.92 kB / 0.5948 GB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.7009, allocations: 181.7 kB / 0.595 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.701, allocations: 50.62 kB / 0.5951 GB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.7011, allocations: 16.86 kB / 0.5951 GB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.7011, allocations: 7.891 kB / 0.5951 GB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.7012, allocations: 71.45 kB / 0.5951 GB, free: 9.438 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.7013, allocations: 0 / 0.5951 GB, free: 9.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000209/0.7015, allocations: 81.58 kB / 0.5952 GB, free: 9.352 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.7015, allocations: 51.41 kB / 0.5953 GB, free: 9.289 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.7017, allocations: 169.4 kB / 0.5954 GB, free: 9.117 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.7017, allocations: 25.7 kB / 0.5955 GB, free: 9.086 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.7018, allocations: 104.1 kB / 0.5956 GB, free: 8.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.7018, allocations: 15.75 kB / 0.5956 GB, free: 8.965 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.7019, allocations: 0 / 0.5956 GB, free: 8.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.702, allocations: 326.8 kB / 0.5959 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/0.702, allocations: 12 kB / 0.5959 GB, free: 8.625 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.109e-05/0.7021, allocations: 25.72 kB / 0.5959 GB, free: 8.594 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.056e-05/0.7021, allocations: 19.92 kB / 0.5959 GB, free: 8.574 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7021, allocations: 0 / 0.5959 GB, free: 8.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001348/0.7023, allocations: 77.72 kB / 0.596 GB, free: 8.492 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.7023, allocations: 7.953 kB / 0.596 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.7023, allocations: 4 kB / 0.596 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.7023, allocations: 0 / 0.596 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.391e-05/0.7024, allocations: 19.92 kB / 0.596 GB, free: 8.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.7024, allocations: 0 / 0.596 GB, free: 8.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.7025, allocations: 8.031 kB / 0.596 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.7025, allocations: 4 kB / 0.5961 GB, free: 8.449 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 (7): * Single equations (assignments): 7 * 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 7.102e-05/0.7026, allocations: 105 kB / 0.5962 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.7026, allocations: 11.81 kB / 0.5962 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.7028, allocations: 93.7 kB / 0.5963 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7028, allocations: 4 kB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.7028, allocations: 3.938 kB / 0.5963 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.7029, allocations: 0 / 0.5963 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.703, allocations: 193.5 kB / 0.5964 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.703, allocations: 4 kB / 0.5964 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.7031, allocations: 4 kB / 0.5965 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.7031, allocations: 3.984 kB / 0.5965 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.7031, allocations: 8 kB / 0.5965 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.7031, allocations: 3.953 kB / 0.5965 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.7031, allocations: 0 / 0.5965 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.7033, allocations: 109 kB / 0.5966 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.7034, allocations: 100.8 kB / 0.5967 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.7034, allocations: 8 kB / 0.5967 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.159e-05/0.7034, allocations: 0 / 0.5967 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.7035, allocations: 11.94 kB / 0.5967 GB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.7035, allocations: 0 / 0.5967 GB, free: 7.695 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001486/0.7037, allocations: 145 kB / 0.5968 GB, free: 7.555 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.703e-06/0.7037, allocations: 0 / 0.5968 GB, free: 7.555 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.7039, allocations: 31.92 kB / 0.5969 GB, free: 7.523 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00121/0.7051, allocations: 0.9148 MB / 0.5977 GB, free: 6.695 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.7052, allocations: 39.94 kB / 0.5978 GB, free: 6.656 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7053, allocations: 0 / 0.5978 GB, free: 6.656 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.7053, allocations: 20 kB / 0.5978 GB, free: 6.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.7056, allocations: 27.92 kB / 0.5978 GB, free: 6.609 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.706, allocations: 207.1 kB / 0.598 GB, free: 6.371 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.7063, allocations: 0.7004 MB / 0.5987 GB, free: 5.645 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.39e-05/0.7064, allocations: 20.41 kB / 0.5987 GB, free: 5.625 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.7065, allocations: 31.42 kB / 0.5988 GB, free: 5.594 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.7065, allocations: 0 / 0.5988 GB, free: 5.594 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.7221, allocations: 2.698 MB / 0.6014 GB, free: 2.98 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.7224, allocations: 190 kB / 0.6016 GB, free: 2.754 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.438, allocations: 4 kB / 0.6016 GB, free: 2.75 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat