Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",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.00148/0.00148, allocations: 177.6 kB / 8.004 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.529/1.529, allocations: 205.3 MB / 213.7 MB, free: 1.723 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.0007694/0.0007693, allocations: 78.64 kB / 261.7 MB, free: 1.684 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.1995/0.1995, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.63e-05, allocations: 8 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 58.87 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3599/0.4645, allocations: 87.06 MB / 0.5511 GB, free: 7.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.4647, allocations: 78.05 kB / 0.5511 GB, free: 7.781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01824/0.483, allocations: 7.446 MB / 0.5584 GB, free: 1.848 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4831, allocations: 0 / 0.5584 GB, free: 1.848 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.4831, allocations: 8 kB / 0.5584 GB, free: 1.84 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005126/0.4836, allocations: 484.2 kB / 0.5589 GB, free: 1.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.4837, allocations: 8.031 kB / 0.5589 GB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.4838, allocations: 23.72 kB / 0.5589 GB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.4841, allocations: 274.4 kB / 0.5592 GB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.4842, allocations: 4 kB / 0.5592 GB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.4842, allocations: 3.984 kB / 0.5592 GB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.889e-05/0.4843, allocations: 45.86 kB / 0.5592 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.4844, allocations: 89 kB / 0.5593 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4845, allocations: 0 / 0.5593 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.4845, allocations: 0 / 0.5593 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4845, allocations: 0 / 0.5593 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.4849, allocations: 433.2 kB / 0.5597 GB, free: 472 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.485, allocations: 103.1 kB / 0.5598 GB, free: 372 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.4851, allocations: 34.53 kB / 0.5598 GB, free: 340 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.4851, allocations: 3.75 kB / 0.5599 GB, free: 340 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.4853, allocations: 117.3 kB / 0.56 GB, free: 220 kB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.4853, allocations: 0 / 0.56 GB, free: 220 kB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005909/0.4859, allocations: 304 kB / 0.5603 GB, free: 15.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.4859, allocations: 81.11 kB / 0.5603 GB, free: 15.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.4863, allocations: 308.3 kB / 0.5606 GB, free: 15.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.4863, allocations: 25.7 kB / 0.5606 GB, free: 15.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.4864, allocations: 142.6 kB / 0.5608 GB, free: 15.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.4864, allocations: 50.61 kB / 0.5608 GB, free: 15.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.4865, allocations: 0 / 0.5608 GB, free: 15.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4866, allocations: 341.4 kB / 0.5612 GB, free: 15.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.845e-05/0.4867, allocations: 33.75 kB / 0.5612 GB, free: 15.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.4867, allocations: 65.92 kB / 0.5613 GB, free: 15.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.562e-05/0.4868, allocations: 45.31 kB / 0.5613 GB, free: 14.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4868, allocations: 0 / 0.5613 GB, free: 14.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002583/0.4871, allocations: 165.1 kB / 0.5615 GB, free: 14.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4871, allocations: 4 kB / 0.5615 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4871, allocations: 3.953 kB / 0.5615 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4872, allocations: 4 kB / 0.5615 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.4873, allocations: 31.92 kB / 0.5615 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4873, allocations: 4 kB / 0.5615 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/0.4874, allocations: 12.05 kB / 0.5615 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.4875, allocations: 7.938 kB / 0.5615 GB, free: 14.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001012/0.4876, allocations: 108.4 kB / 0.5616 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002381/0.4878, allocations: 166.2 kB / 0.5618 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.4879, allocations: 31.58 kB / 0.5618 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.4882, allocations: 192.2 kB / 0.562 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4882, allocations: 0 / 0.562 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4882, allocations: 0 / 0.562 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4882, allocations: 8 kB / 0.562 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006643/0.4889, allocations: 0.6173 MB / 0.5626 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4889, allocations: 4.375 kB / 0.5626 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-05/0.489, allocations: 19.98 kB / 0.5626 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.489, allocations: 3.938 kB / 0.5626 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.489, allocations: 8 kB / 0.5626 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.489, allocations: 8.062 kB / 0.5626 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4891, allocations: 0 / 0.5626 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.4894, allocations: 402.5 kB / 0.563 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.747e-05/0.4895, allocations: 112.4 kB / 0.5631 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.4895, allocations: 7.984 kB / 0.5631 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.4897, allocations: 7.625 kB / 0.5632 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.4897, allocations: 15.94 kB / 0.5632 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.4898, allocations: 7.984 kB / 0.5632 GB, free: 13.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000228/0.49, allocations: 248.7 kB / 0.5634 GB, free: 12.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.49, allocations: 0 / 0.5634 GB, free: 12.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000359/0.4904, allocations: 51.92 kB / 0.5635 GB, free: 12.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001435/0.4918, allocations: 1.42 MB / 0.5648 GB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.492, allocations: 108 kB / 0.565 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.492, allocations: 4 kB / 0.565 GB, free: 11.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.4921, allocations: 53.94 kB / 0.565 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.4925, allocations: 43.52 kB / 0.565 GB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007895/0.4933, allocations: 430.1 kB / 0.5655 GB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.4936, allocations: 0.7627 MB / 0.5662 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.4937, allocations: 38.16 kB / 0.5662 GB, free: 10.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.4939, allocations: 74.97 kB / 0.5663 GB, free: 10.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4939, allocations: 0 / 0.5663 GB, free: 10.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.52, allocations: 4.694 MB / 0.5709 GB, free: 5.434 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.5203, allocations: 165 kB / 0.5711 GB, free: 5.238 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.409, allocations: 0 / 0.5711 GB, free: 5.238 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat