Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test27",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.00149/0.001497, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 91.78 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3298/0.3298, allocations: 43.5 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.647e-05/3.669e-05, allocations: 8 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4285, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.5898, allocations: 86.93 MB / 0.5509 GB, free: 12.26 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5902, allocations: 75.45 kB / 0.551 GB, free: 12.19 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02448/0.6147, allocations: 5.234 MB / 0.5561 GB, free: 6.961 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.598e-06/0.6147, allocations: 0 / 0.5561 GB, free: 6.961 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.6147, allocations: 3.938 kB / 0.5561 GB, free: 6.957 MB / 395.1 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.000589/0.6153, allocations: 398.9 kB / 0.5565 GB, free: 6.523 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.6154, allocations: 8.031 kB / 0.5565 GB, free: 6.516 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.6155, allocations: 11.91 kB / 0.5565 GB, free: 6.504 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.6159, allocations: 225.5 kB / 0.5567 GB, free: 6.246 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.6159, allocations: 0 / 0.5567 GB, free: 6.246 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.616, allocations: 0 / 0.5567 GB, free: 6.246 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001044/0.6161, allocations: 16 kB / 0.5567 GB, free: 6.23 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.6162, allocations: 57.61 kB / 0.5568 GB, free: 6.168 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.6162, allocations: 0 / 0.5568 GB, free: 6.168 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.6163, allocations: 7.984 kB / 0.5568 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6163, allocations: 0 / 0.5568 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.6168, allocations: 265.5 kB / 0.557 GB, free: 5.863 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.6169, allocations: 54.62 kB / 0.5571 GB, free: 5.801 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/0.617, allocations: 20.98 kB / 0.5571 GB, free: 5.777 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.617, allocations: 8 kB / 0.5571 GB, free: 5.77 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.6172, allocations: 59.39 kB / 0.5572 GB, free: 5.699 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.6172, allocations: 0 / 0.5572 GB, free: 5.699 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006271/0.6178, allocations: 153.1 kB / 0.5573 GB, free: 5.543 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.6179, allocations: 55.34 kB / 0.5574 GB, free: 5.477 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.6182, allocations: 166.9 kB / 0.5575 GB, free: 5.309 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.6182, allocations: 29.7 kB / 0.5575 GB, free: 5.273 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.198e-05/0.6183, allocations: 162.6 kB / 0.5577 GB, free: 5.113 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.6183, allocations: 23.7 kB / 0.5577 GB, free: 5.09 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.6184, allocations: 0 / 0.5577 GB, free: 5.09 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6185, allocations: 314.8 kB / 0.558 GB, free: 4.773 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.547e-05/0.6186, allocations: 16 kB / 0.558 GB, free: 4.758 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.929e-05/0.6187, allocations: 33.7 kB / 0.5581 GB, free: 4.719 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.663e-05/0.6187, allocations: 31.98 kB / 0.5581 GB, free: 4.688 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6188, allocations: 0 / 0.5581 GB, free: 4.688 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002174/0.619, allocations: 85.58 kB / 0.5582 GB, free: 4.598 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.619, allocations: 8 kB / 0.5582 GB, free: 4.59 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.619, allocations: 0 / 0.5582 GB, free: 4.59 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.6191, allocations: 0 / 0.5582 GB, free: 4.59 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.6192, allocations: 19.94 kB / 0.5582 GB, free: 4.57 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.6193, allocations: 4 kB / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.6194, allocations: 3.984 kB / 0.5582 GB, free: 4.562 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.6194, allocations: 7.953 kB / 0.5582 GB, free: 4.555 MB / 395.1 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 9.809e-05/0.6195, allocations: 105 kB / 0.5583 GB, free: 4.445 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002251/0.6197, allocations: 89.59 kB / 0.5584 GB, free: 4.352 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.6198, allocations: 11.89 kB / 0.5584 GB, free: 4.34 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.6201, allocations: 118.2 kB / 0.5585 GB, free: 4.219 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6201, allocations: 0 / 0.5585 GB, free: 4.219 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.6201, allocations: 7.953 kB / 0.5585 GB, free: 4.211 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.6202, allocations: 3.984 kB / 0.5585 GB, free: 4.207 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006081/0.6208, allocations: 367.9 kB / 0.5589 GB, free: 3.801 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6208, allocations: 4.031 kB / 0.5589 GB, free: 3.797 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.154e-05/0.6209, allocations: 15.98 kB / 0.5589 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.6209, allocations: 0 / 0.5589 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.6209, allocations: 0 / 0.5589 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.621, allocations: 7.953 kB / 0.5589 GB, free: 3.773 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.621, allocations: 3.938 kB / 0.5589 GB, free: 3.77 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.6213, allocations: 210 kB / 0.5591 GB, free: 3.539 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/0.6214, allocations: 92.91 kB / 0.5592 GB, free: 3.43 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.6214, allocations: 12.14 kB / 0.5592 GB, free: 3.418 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.6216, allocations: 7.938 kB / 0.5592 GB, free: 3.41 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.6217, allocations: 11.92 kB / 0.5592 GB, free: 3.398 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.6217, allocations: 4 kB / 0.5593 GB, free: 3.395 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.6219, allocations: 135.4 kB / 0.5594 GB, free: 3.262 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6219, allocations: 0 / 0.5594 GB, free: 3.262 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003983/0.6223, allocations: 27.98 kB / 0.5594 GB, free: 3.234 MB / 395.1 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.001723/0.624, allocations: 1.109 MB / 0.5605 GB, free: 2.145 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.6243, allocations: 55.92 kB / 0.5605 GB, free: 2.09 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6243, allocations: 0 / 0.5605 GB, free: 2.09 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.909e-05/0.6244, allocations: 28 kB / 0.5606 GB, free: 2.062 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.6248, allocations: 27.97 kB / 0.5606 GB, free: 2.035 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007987/0.6257, allocations: 256.5 kB / 0.5608 GB, free: 1.73 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.626, allocations: 0.7041 MB / 0.5615 GB, free: 1 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.6261, allocations: 35.42 kB / 0.5616 GB, free: 0.9648 MB / 395.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6261, allocations: 0 / 0.5616 GB, free: 0.9648 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.773/3.399, allocations: 2.46 MB / 0.564 GB, free: 14.51 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat