Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",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.001605/0.001606, allocations: 180.2 kB / 8.007 MB, free: 1.066 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.451/1.451, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008268/0.0008267, allocations: 86.62 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.1861/0.1861, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.326e-05/2.328e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1203, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.385/0.5054, allocations: 86.92 MB / 0.5509 GB, free: 7.676 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.5057, allocations: 79.36 kB / 0.551 GB, free: 7.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01236/0.518, allocations: 5.264 MB / 0.5561 GB, free: 3.477 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5181, allocations: 0 / 0.5561 GB, free: 3.477 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.5181, allocations: 7.938 kB / 0.5561 GB, free: 3.469 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.0003954/0.5185, allocations: 401 kB / 0.5565 GB, free: 3.043 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.5186, allocations: 16.03 kB / 0.5565 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.5186, allocations: 11.84 kB / 0.5566 GB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.5189, allocations: 220.2 kB / 0.5568 GB, free: 2.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.5189, allocations: 4 kB / 0.5568 GB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.5189, allocations: 0 / 0.5568 GB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.189e-05/0.519, allocations: 18.56 kB / 0.5568 GB, free: 2.754 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.995e-05/0.5191, allocations: 48.98 kB / 0.5568 GB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5191, allocations: 0 / 0.5568 GB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.5191, allocations: 0 / 0.5568 GB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5192, allocations: 4 kB / 0.5568 GB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.5195, allocations: 275.2 kB / 0.5571 GB, free: 2.414 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.124e-05/0.5196, allocations: 50 kB / 0.5572 GB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.5196, allocations: 20.72 kB / 0.5572 GB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.5197, allocations: 0 / 0.5572 GB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.5198, allocations: 62.72 kB / 0.5572 GB, free: 2.281 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.5198, allocations: 0 / 0.5572 GB, free: 2.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003985/0.5202, allocations: 149.9 kB / 0.5574 GB, free: 2.152 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.5202, allocations: 55.34 kB / 0.5574 GB, free: 2.086 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.5203, allocations: 182.5 kB / 0.5576 GB, free: 1.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.5204, allocations: 33.64 kB / 0.5576 GB, free: 1.879 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.5204, allocations: 101.8 kB / 0.5577 GB, free: 1.789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.5204, allocations: 27.14 kB / 0.5578 GB, free: 1.766 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.5204, allocations: 4 kB / 0.5578 GB, free: 1.762 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.5205, allocations: 325.9 kB / 0.5581 GB, free: 1.441 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.5205, allocations: 11.75 kB / 0.5581 GB, free: 1.434 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.5206, allocations: 36.09 kB / 0.5581 GB, free: 1.402 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.913e-05/0.5206, allocations: 30.84 kB / 0.5581 GB, free: 1.383 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5206, allocations: 0 / 0.5581 GB, free: 1.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001145/0.5208, allocations: 87.34 kB / 0.5582 GB, free: 1.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.5208, allocations: 8.031 kB / 0.5582 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5208, allocations: 0 / 0.5582 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.5208, allocations: 0 / 0.5582 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.698e-05/0.5209, allocations: 23.92 kB / 0.5583 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.5209, allocations: 0 / 0.5583 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.521, allocations: 4 kB / 0.5583 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.521, allocations: 4.141 kB / 0.5583 GB, free: 1.266 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 6.003e-05/0.521, allocations: 113 kB / 0.5584 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001112/0.5212, allocations: 99.88 kB / 0.5585 GB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.5212, allocations: 15.91 kB / 0.5585 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.5214, allocations: 104.9 kB / 0.5586 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5214, allocations: 0 / 0.5586 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5214, allocations: 3.953 kB / 0.5586 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5214, allocations: 0 / 0.5586 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.5217, allocations: 382.1 kB / 0.559 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5217, allocations: 4 kB / 0.559 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.5217, allocations: 19.95 kB / 0.559 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5217, allocations: 0 / 0.559 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.5218, allocations: 0 / 0.559 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5218, allocations: 7.953 kB / 0.559 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5218, allocations: 0 / 0.559 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.5219, allocations: 214.3 kB / 0.5592 GB, free: 332 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.522, allocations: 96.91 kB / 0.5593 GB, free: 216 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.522, allocations: 11.77 kB / 0.5593 GB, free: 208 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.5221, allocations: 7.938 kB / 0.5593 GB, free: 200 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.5221, allocations: 7.984 kB / 0.5593 GB, free: 192 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.5221, allocations: 0 / 0.5593 GB, free: 192 kB / 362.7 MB Notification: Performance of sorting global known variables: time 9.585e-05/0.5222, allocations: 145.3 kB / 0.5594 GB, free: 68 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5222, allocations: 0 / 0.5594 GB, free: 68 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002532/0.5225, allocations: 31.31 kB / 0.5595 GB, free: 40 kB / 362.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.001474/0.524, allocations: 1.101 MB / 0.5605 GB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.5241, allocations: 53.05 kB / 0.5606 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5242, allocations: 0 / 0.5606 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.16e-05/0.5242, allocations: 27.5 kB / 0.5606 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.5245, allocations: 27.52 kB / 0.5607 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.5251, allocations: 227.9 kB / 0.5609 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.5254, allocations: 0.708 MB / 0.5616 GB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.476e-05/0.5255, allocations: 12.55 kB / 0.5616 GB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.5256, allocations: 37.8 kB / 0.5616 GB, free: 13.91 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5256, allocations: 8 kB / 0.5616 GB, free: 13.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.5488, allocations: 2.717 MB / 0.5643 GB, free: 11.19 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.549, allocations: 166.5 kB / 0.5644 GB, free: 11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/2.018, allocations: 0 / 0.5644 GB, free: 11 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat