Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.0013/0.0013, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008813/0.0008812, allocations: 82.64 kB / 261.7 MB, free: 1.676 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.2289/0.2289, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.203e-05/2.206e-05, allocations: 8 kB / 418.4 MB, free: 28.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 58.85 MB / 477.2 MB, free: 1.512 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.5929, allocations: 87.05 MB / 0.551 GB, free: 7.508 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.5932, allocations: 78.89 kB / 0.5511 GB, free: 7.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01266/0.6059, allocations: 5.193 MB / 0.5562 GB, free: 3.395 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6059, allocations: 0 / 0.5562 GB, free: 3.395 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.6059, allocations: 3.938 kB / 0.5562 GB, free: 3.391 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003657/0.6063, allocations: 397.3 kB / 0.5566 GB, free: 2.969 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.6064, allocations: 8.031 kB / 0.5566 GB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.6064, allocations: 7.906 kB / 0.5566 GB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.6067, allocations: 209.5 kB / 0.5568 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.6067, allocations: 0 / 0.5568 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.6067, allocations: 0 / 0.5568 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.799e-05/0.6068, allocations: 27.05 kB / 0.5568 GB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.6069, allocations: 70.77 kB / 0.5569 GB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.607, allocations: 0 / 0.5569 GB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.607, allocations: 0 / 0.5569 GB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.607, allocations: 0 / 0.5569 GB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.6074, allocations: 279.3 kB / 0.5572 GB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.6075, allocations: 48.56 kB / 0.5572 GB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.6075, allocations: 23.92 kB / 0.5572 GB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.6075, allocations: 7.859 kB / 0.5572 GB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.6077, allocations: 69.48 kB / 0.5573 GB, free: 2.188 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.917e-06/0.6077, allocations: 0 / 0.5573 GB, free: 2.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004509/0.6082, allocations: 163.3 kB / 0.5574 GB, free: 2.043 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.6082, allocations: 81.05 kB / 0.5575 GB, free: 1.945 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.6083, allocations: 137.6 kB / 0.5577 GB, free: 1.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.6084, allocations: 29.7 kB / 0.5577 GB, free: 1.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.6084, allocations: 98 kB / 0.5578 GB, free: 1.699 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.6084, allocations: 27.03 kB / 0.5578 GB, free: 1.676 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.6084, allocations: 0 / 0.5578 GB, free: 1.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.6085, allocations: 318.3 kB / 0.5581 GB, free: 1.359 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.443e-05/0.6086, allocations: 21.25 kB / 0.5581 GB, free: 1.348 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.6086, allocations: 37.44 kB / 0.5582 GB, free: 1.309 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.528e-05/0.6087, allocations: 26.7 kB / 0.5582 GB, free: 1.289 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.6087, allocations: 0 / 0.5582 GB, free: 1.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001244/0.6088, allocations: 102.7 kB / 0.5583 GB, free: 1.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.6088, allocations: 4 kB / 0.5583 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.6088, allocations: 0 / 0.5583 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.6089, allocations: 3.953 kB / 0.5583 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.54e-05/0.609, allocations: 23.92 kB / 0.5583 GB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.609, allocations: 0 / 0.5583 GB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.609, allocations: 4 kB / 0.5583 GB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.6091, allocations: 4 kB / 0.5583 GB, free: 1.16 MB / 362.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 (11): * Single equations (assignments): 11 * 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.381e-05/0.6091, allocations: 110.4 kB / 0.5584 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001336/0.6093, allocations: 101 kB / 0.5585 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.6093, allocations: 11.86 kB / 0.5585 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.6095, allocations: 118.5 kB / 0.5587 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.6095, allocations: 0 / 0.5587 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6095, allocations: 0 / 0.5587 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6095, allocations: 0 / 0.5587 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.6099, allocations: 385.5 kB / 0.559 GB, free: 472 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6099, allocations: 0 / 0.559 GB, free: 472 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/0.6099, allocations: 16 kB / 0.559 GB, free: 456 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.61, allocations: 3.938 kB / 0.559 GB, free: 452 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.61, allocations: 4 kB / 0.559 GB, free: 448 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.61, allocations: 3.984 kB / 0.559 GB, free: 444 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.61, allocations: 3.938 kB / 0.559 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.6102, allocations: 217.6 kB / 0.5593 GB, free: 216 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.6102, allocations: 88.39 kB / 0.5593 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.6102, allocations: 7.922 kB / 0.5593 GB, free: 104 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.6103, allocations: 4 kB / 0.5594 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.6104, allocations: 7.984 kB / 0.5594 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.6104, allocations: 4 kB / 0.5594 GB, free: 88 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.6105, allocations: 113.4 kB / 0.5595 GB, free: 15.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6105, allocations: 4 kB / 0.5595 GB, free: 15.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002793/0.6108, allocations: 39.56 kB / 0.5595 GB, free: 15.95 MB / 378.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 (10): * Single equations (assignments): 8 * 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.00148/0.6123, allocations: 1.145 MB / 0.5606 GB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.6124, allocations: 61.55 kB / 0.5607 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6124, allocations: 0 / 0.5607 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.38e-05/0.6125, allocations: 30.81 kB / 0.5607 GB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.6128, allocations: 24.05 kB / 0.5607 GB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.6133, allocations: 207.8 kB / 0.5609 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.6136, allocations: 0.7002 MB / 0.5616 GB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.798e-05/0.6137, allocations: 16.88 kB / 0.5616 GB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.6138, allocations: 34.17 kB / 0.5617 GB, free: 13.77 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.6138, allocations: 0 / 0.5617 GB, free: 13.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.6352, allocations: 2.861 MB / 0.5645 GB, free: 10.92 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/0.6356, allocations: 175.2 kB / 0.5646 GB, free: 10.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/2.142, allocations: 4.031 kB / 0.5646 GB, free: 10.72 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat does not exist to compare? outputFormat=mat