Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001463, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 91.09 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4787/0.4787, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.425e-05/4.434e-05, allocations: 7.984 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.159, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5084/0.6674, allocations: 87.58 MB / 0.5584 GB, free: 16.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.6678, allocations: 72.94 kB / 0.5585 GB, free: 16.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01494/0.6827, allocations: 5.249 MB / 0.5636 GB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.6828, allocations: 0 / 0.5636 GB, free: 13.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.6828, allocations: 11.16 kB / 0.5637 GB, free: 13.45 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.0004382/0.6832, allocations: 397.6 kB / 0.564 GB, free: 13.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.6833, allocations: 8.031 kB / 0.564 GB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.6833, allocations: 35.48 kB / 0.5641 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.6834, allocations: 15.34 kB / 0.5641 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.6837, allocations: 218.7 kB / 0.5643 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.6837, allocations: 3.984 kB / 0.5643 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.6837, allocations: 7.188 kB / 0.5643 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.6839, allocations: 58.52 kB / 0.5644 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.6839, allocations: 0 / 0.5644 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.6839, allocations: 2.312 kB / 0.5644 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.6839, allocations: 0 / 0.5644 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.077e-05/0.684, allocations: 25.09 kB / 0.5644 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.6844, allocations: 286.5 kB / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.6845, allocations: 62.34 kB / 0.5647 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.6846, allocations: 18.86 kB / 0.5647 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.6846, allocations: 4 kB / 0.5647 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.6847, allocations: 62.53 kB / 0.5648 GB, free: 12.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.006e-06/0.6847, allocations: 0 / 0.5648 GB, free: 12.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004677/0.6852, allocations: 165.7 kB / 0.565 GB, free: 12.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.6853, allocations: 55.41 kB / 0.565 GB, free: 12.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.6854, allocations: 174.1 kB / 0.5652 GB, free: 11.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.6855, allocations: 25.7 kB / 0.5652 GB, free: 11.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.6855, allocations: 105.1 kB / 0.5653 GB, free: 11.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.6855, allocations: 20.78 kB / 0.5653 GB, free: 11.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.6855, allocations: 0 / 0.5653 GB, free: 11.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.6856, allocations: 321.2 kB / 0.5656 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.6857, allocations: 18.44 kB / 0.5656 GB, free: 11.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.555e-05/0.6857, allocations: 42.77 kB / 0.5657 GB, free: 11.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.279e-05/0.6858, allocations: 29.73 kB / 0.5657 GB, free: 11.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.6858, allocations: 0 / 0.5657 GB, free: 11.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000137/0.6859, allocations: 98.2 kB / 0.5658 GB, free: 11.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6859, allocations: 4 kB / 0.5658 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.6859, allocations: 0 / 0.5658 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.686, allocations: 0 / 0.5658 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.6861, allocations: 24.22 kB / 0.5658 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.6861, allocations: 5.453 kB / 0.5658 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.6861, allocations: 4.031 kB / 0.5658 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.6862, allocations: 4 kB / 0.5658 GB, free: 11.28 MB / 394.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 6.431e-05/0.6862, allocations: 112.3 kB / 0.566 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.6862, allocations: 7.906 kB / 0.566 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.6865, allocations: 125.7 kB / 0.5661 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.6865, allocations: 1.312 kB / 0.5661 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6865, allocations: 0 / 0.5661 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.6865, allocations: 7.953 kB / 0.5661 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.6869, allocations: 407.8 kB / 0.5665 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.687, allocations: 4 kB / 0.5665 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.687, allocations: 11.98 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.687, allocations: 0 / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.687, allocations: 7.953 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.687, allocations: 0 / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.687, allocations: 4.125 kB / 0.5665 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.6873, allocations: 215.2 kB / 0.5667 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.6873, allocations: 96.06 kB / 0.5668 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.6874, allocations: 15.89 kB / 0.5668 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.6874, allocations: 3.562 kB / 0.5668 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.6875, allocations: 7.984 kB / 0.5668 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.6875, allocations: 4 kB / 0.5668 GB, free: 10.26 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.6876, allocations: 145 kB / 0.567 GB, free: 10.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6876, allocations: 4 kB / 0.567 GB, free: 10.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.6879, allocations: 31.38 kB / 0.567 GB, free: 10.11 MB / 394.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.001412/0.6893, allocations: 1.134 MB / 0.5681 GB, free: 9.039 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.6895, allocations: 61.36 kB / 0.5682 GB, free: 8.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.6895, allocations: 0 / 0.5682 GB, free: 8.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.389e-05/0.6896, allocations: 30.81 kB / 0.5682 GB, free: 8.973 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.6899, allocations: 28.8 kB / 0.5682 GB, free: 8.949 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.6905, allocations: 224.9 kB / 0.5684 GB, free: 8.711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.6907, allocations: 0.7082 MB / 0.5691 GB, free: 7.977 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.8e-05/0.6908, allocations: 12.86 kB / 0.5691 GB, free: 7.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.948e-05/0.6909, allocations: 36.67 kB / 0.5692 GB, free: 7.945 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6909, allocations: 4 kB / 0.5692 GB, free: 7.941 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.707, allocations: 3.004 MB / 0.5721 GB, free: 4.973 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.7072, allocations: 187.6 kB / 0.5723 GB, free: 4.746 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.314, allocations: 0 / 0.5723 GB, free: 4.746 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat