Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",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.0009675/0.0009677, 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.636/1.636, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008248/0.0008247, allocations: 98.28 kB / 261.8 MB, free: 1.68 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.2053/0.2053, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.406e-05/2.41e-05, allocations: 8 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 58.85 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.4953, allocations: 87.18 MB / 0.5512 GB, free: 7.465 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/0.4955, allocations: 76 kB / 0.5512 GB, free: 7.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01256/0.5081, allocations: 5.649 MB / 0.5568 GB, free: 3.152 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5081, allocations: 0 / 0.5568 GB, free: 3.152 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.5081, allocations: 4 kB / 0.5568 GB, free: 3.148 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003033/0.5084, allocations: 385.8 kB / 0.5571 GB, free: 2.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.5085, allocations: 8.031 kB / 0.5571 GB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.5085, allocations: 7.906 kB / 0.5571 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.5087, allocations: 214.1 kB / 0.5574 GB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.5087, allocations: 4 kB / 0.5574 GB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.5088, allocations: 0 / 0.5574 GB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.875e-05/0.5088, allocations: 19.48 kB / 0.5574 GB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.95e-05/0.5089, allocations: 65.03 kB / 0.5574 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.5089, allocations: 0 / 0.5574 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.5089, allocations: 7.984 kB / 0.5574 GB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.5089, allocations: 0 / 0.5574 GB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.5092, allocations: 263.1 kB / 0.5577 GB, free: 2.109 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.642e-05/0.5093, allocations: 47.89 kB / 0.5577 GB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.5093, allocations: 20.34 kB / 0.5578 GB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.5093, allocations: 0 / 0.5578 GB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.597e-05/0.5094, allocations: 65.16 kB / 0.5578 GB, free: 1.977 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.5094, allocations: 3.938 kB / 0.5578 GB, free: 1.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000324/0.5098, allocations: 154.2 kB / 0.558 GB, free: 1.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.5098, allocations: 80.61 kB / 0.5581 GB, free: 1.742 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.5099, allocations: 133.9 kB / 0.5582 GB, free: 1.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.5099, allocations: 33.02 kB / 0.5582 GB, free: 1.586 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.203e-05/0.5099, allocations: 91 kB / 0.5583 GB, free: 1.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.51, allocations: 27.2 kB / 0.5583 GB, free: 1.477 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-06/0.51, allocations: 0 / 0.5583 GB, free: 1.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.787e-05/0.51, allocations: 322.4 kB / 0.5586 GB, free: 1.156 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/0.51, allocations: 19.06 kB / 0.5586 GB, free: 1.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.181e-05/0.5101, allocations: 40.25 kB / 0.5587 GB, free: 1.105 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.5101, allocations: 22.17 kB / 0.5587 GB, free: 1.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.5101, allocations: 0 / 0.5587 GB, free: 1.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001079/0.5102, allocations: 91.59 kB / 0.5588 GB, free: 1.012 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.5103, allocations: 8.062 kB / 0.5588 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5103, allocations: 4 kB / 0.5588 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5103, allocations: 3.953 kB / 0.5588 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.5104, allocations: 15.98 kB / 0.5588 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.5104, allocations: 160 / 0.5588 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.5104, allocations: 4 kB / 0.5588 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.5104, allocations: 4.188 kB / 0.5588 GB, free: 0.9727 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 (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 4.637e-05/0.5105, allocations: 110.4 kB / 0.5589 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001053/0.5106, allocations: 96.25 kB / 0.559 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.5106, allocations: 19.86 kB / 0.559 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.5108, allocations: 106 kB / 0.5592 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5108, allocations: 4 kB / 0.5592 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.5108, allocations: 0 / 0.5592 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5108, allocations: 0 / 0.5592 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.5111, allocations: 368.4 kB / 0.5595 GB, free: 300 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5111, allocations: 3.953 kB / 0.5595 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.5111, allocations: 16.02 kB / 0.5595 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5111, allocations: 0 / 0.5595 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.5112, allocations: 4.281 kB / 0.5595 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5112, allocations: 0 / 0.5595 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5112, allocations: 0 / 0.5595 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.5113, allocations: 216.2 kB / 0.5597 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.5114, allocations: 96.92 kB / 0.5598 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.5114, allocations: 11.94 kB / 0.5598 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.5115, allocations: 0 / 0.5598 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.5115, allocations: 7.984 kB / 0.5598 GB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.5115, allocations: 4 kB / 0.5598 GB, free: 15.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.155e-05/0.5116, allocations: 113.6 kB / 0.56 GB, free: 15.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.854e-06/0.5116, allocations: 0 / 0.56 GB, free: 15.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002702/0.5119, allocations: 43.86 kB / 0.56 GB, free: 15.78 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 (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.001175/0.5131, allocations: 1.14 MB / 0.5611 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.5132, allocations: 57.73 kB / 0.5612 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.5132, allocations: 4.062 kB / 0.5612 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.684e-05/0.5133, allocations: 26.94 kB / 0.5612 GB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.5135, allocations: 19.42 kB / 0.5612 GB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.514, allocations: 197.1 kB / 0.5614 GB, free: 14.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.5142, allocations: 0.708 MB / 0.5621 GB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.737e-05/0.5143, allocations: 8.562 kB / 0.5621 GB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.082e-05/0.5144, allocations: 38.28 kB / 0.5621 GB, free: 13.61 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5144, allocations: 0 / 0.5621 GB, free: 13.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.54, allocations: 2.745 MB / 0.5648 GB, free: 10.88 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003232/0.5404, allocations: 171.1 kB / 0.565 GB, free: 10.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/2.083, allocations: 4.031 kB / 0.565 GB, free: 10.68 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat does not exist to compare? outputFormat=mat