Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",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.001544/0.001544, allocations: 179.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.568/1.568, allocations: 221.3 MB / 236 MB, free: 2.879 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.00103/0.00103, allocations: 95.72 kB / 287 MB, free: 184 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.2593/0.2593, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.345e-05/3.355e-05, allocations: 4.219 kB / 451.9 MB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1503, allocations: 61.91 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.439/0.5893, allocations: 89.17 MB / 0.5889 GB, free: 76 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5897, allocations: 76.58 kB / 0.589 GB, free: 0 / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01523/0.6049, allocations: 5.373 MB / 0.5942 GB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.605, allocations: 0 / 0.5942 GB, free: 10.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.605, allocations: 4 kB / 0.5942 GB, free: 10.64 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.0005369/0.6055, allocations: 394.3 kB / 0.5946 GB, free: 10.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.6056, allocations: 12.03 kB / 0.5946 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.144e-05/0.6057, allocations: 38.48 kB / 0.5946 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.6057, allocations: 7.906 kB / 0.5946 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.606, allocations: 202.6 kB / 0.5948 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.606, allocations: 7.953 kB / 0.5948 GB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.6061, allocations: 7.984 kB / 0.5948 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.6062, allocations: 45.69 kB / 0.5949 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.6062, allocations: 8 kB / 0.5949 GB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.6063, allocations: 7.938 kB / 0.5949 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.6063, allocations: 0 / 0.5949 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.925e-05/0.6063, allocations: 23.92 kB / 0.5949 GB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.6068, allocations: 288.8 kB / 0.5952 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.6069, allocations: 50.69 kB / 0.5953 GB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.607, allocations: 28.98 kB / 0.5953 GB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.607, allocations: 0 / 0.5953 GB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.6071, allocations: 71.33 kB / 0.5953 GB, free: 9.293 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.6071, allocations: 0 / 0.5953 GB, free: 9.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004695/0.6076, allocations: 157.2 kB / 0.5955 GB, free: 9.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.6077, allocations: 51.41 kB / 0.5955 GB, free: 9.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.6078, allocations: 146.2 kB / 0.5957 GB, free: 8.914 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.6079, allocations: 33.7 kB / 0.5957 GB, free: 8.875 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.6079, allocations: 96.12 kB / 0.5958 GB, free: 8.777 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.608, allocations: 23.7 kB / 0.5958 GB, free: 8.754 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-06/0.608, allocations: 0 / 0.5958 GB, free: 8.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6081, allocations: 330.8 kB / 0.5961 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.564e-05/0.6081, allocations: 12 kB / 0.5962 GB, free: 8.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-05/0.6082, allocations: 33.72 kB / 0.5962 GB, free: 8.371 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.764e-05/0.6083, allocations: 27.98 kB / 0.5962 GB, free: 8.344 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.6083, allocations: 0 / 0.5962 GB, free: 8.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001466/0.6084, allocations: 97.44 kB / 0.5963 GB, free: 8.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6084, allocations: 9.094 kB / 0.5963 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6085, allocations: 0 / 0.5963 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.6085, allocations: 192 / 0.5963 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.6086, allocations: 15.98 kB / 0.5963 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.6086, allocations: 7.938 kB / 0.5963 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.6087, allocations: 0 / 0.5963 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.6087, allocations: 8 kB / 0.5964 GB, free: 8.203 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.466e-05/0.6088, allocations: 116.9 kB / 0.5965 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.6088, allocations: 11.89 kB / 0.5965 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.609, allocations: 118.2 kB / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.6091, allocations: 0 / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6091, allocations: 0 / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.6091, allocations: 3.984 kB / 0.5966 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.6096, allocations: 403.3 kB / 0.597 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.6096, allocations: 7.922 kB / 0.597 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.6096, allocations: 8 kB / 0.597 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6096, allocations: 4 kB / 0.597 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.6097, allocations: 3.984 kB / 0.597 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.6097, allocations: 0 / 0.597 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.6097, allocations: 0 / 0.597 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.6099, allocations: 225.8 kB / 0.5972 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.61, allocations: 85.02 kB / 0.5973 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.61, allocations: 11.98 kB / 0.5973 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.6101, allocations: 0 / 0.5973 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.6102, allocations: 7.953 kB / 0.5973 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.6102, allocations: 7.984 kB / 0.5973 GB, free: 7.098 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.6103, allocations: 127.4 kB / 0.5974 GB, free: 6.977 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6103, allocations: 0 / 0.5974 GB, free: 6.977 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.6106, allocations: 32 kB / 0.5975 GB, free: 6.945 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.001511/0.6121, allocations: 1.137 MB / 0.5986 GB, free: 5.898 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.6123, allocations: 63.92 kB / 0.5986 GB, free: 5.836 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6123, allocations: 3.938 kB / 0.5986 GB, free: 5.832 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-05/0.6123, allocations: 28 kB / 0.5987 GB, free: 5.805 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.6126, allocations: 27.92 kB / 0.5987 GB, free: 5.777 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.6132, allocations: 208.9 kB / 0.5989 GB, free: 5.531 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.6135, allocations: 0.7043 MB / 0.5996 GB, free: 4.801 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.182e-05/0.6136, allocations: 8.562 kB / 0.5996 GB, free: 4.793 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.6137, allocations: 31.42 kB / 0.5996 GB, free: 4.762 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.6137, allocations: 0 / 0.5996 GB, free: 4.762 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.6298, allocations: 2.857 MB / 0.6024 GB, free: 1.992 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.6301, allocations: 178.9 kB / 0.6026 GB, free: 1.773 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.42, allocations: 0 / 0.6026 GB, free: 1.773 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat