Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79",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.002137/0.002137, allocations: 177.8 kB / 8.36 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.193/2.193, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001322/0.001322, allocations: 93.28 kB / 262.1 MB, free: 13.87 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.3392/0.3392, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.825e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4157, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.5842, allocations: 87.07 MB / 0.551 GB, free: 12.14 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.5846, allocations: 71.97 kB / 0.5511 GB, free: 12.07 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03621/0.6208, allocations: 7.6 MB / 0.5585 GB, free: 4.465 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6209, allocations: 4 kB / 0.5585 GB, free: 4.461 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.291e-05/0.6209, allocations: 7.938 kB / 0.5585 GB, free: 4.453 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009729/0.6219, allocations: 494.3 kB / 0.559 GB, free: 3.926 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.622, allocations: 8.031 kB / 0.559 GB, free: 3.918 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.6221, allocations: 31.66 kB / 0.5591 GB, free: 3.887 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007327/0.6228, allocations: 295.8 kB / 0.5593 GB, free: 3.559 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.6229, allocations: 4 kB / 0.5593 GB, free: 3.555 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.6229, allocations: 4 kB / 0.5593 GB, free: 3.551 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001663/0.6231, allocations: 39.97 kB / 0.5594 GB, free: 3.512 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.6233, allocations: 95.25 kB / 0.5595 GB, free: 3.406 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.6234, allocations: 4 kB / 0.5595 GB, free: 3.402 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.6234, allocations: 3.984 kB / 0.5595 GB, free: 3.398 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.6234, allocations: 3.953 kB / 0.5595 GB, free: 3.395 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008402/0.6243, allocations: 449.5 kB / 0.5599 GB, free: 2.914 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.6246, allocations: 101.4 kB / 0.56 GB, free: 2.797 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.663e-05/0.6247, allocations: 33.84 kB / 0.56 GB, free: 2.758 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.6247, allocations: 7.984 kB / 0.56 GB, free: 2.75 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.625, allocations: 113 kB / 0.5602 GB, free: 2.621 MB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 2.795e-06/0.625, allocations: 0 / 0.5602 GB, free: 2.621 MB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.001119/0.6261, allocations: 303.9 kB / 0.5604 GB, free: 2.316 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.6262, allocations: 85.11 kB / 0.5605 GB, free: 2.215 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006964/0.6269, allocations: 377 kB / 0.5609 GB, free: 1.84 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.627, allocations: 25.7 kB / 0.5609 GB, free: 1.809 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.6271, allocations: 198.8 kB / 0.5611 GB, free: 1.609 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.248e-05/0.6272, allocations: 51.3 kB / 0.5611 GB, free: 1.559 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.6273, allocations: 0 / 0.5611 GB, free: 1.559 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6274, allocations: 318.8 kB / 0.5615 GB, free: 1.238 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.6275, allocations: 35.98 kB / 0.5615 GB, free: 1.203 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.6277, allocations: 63.44 kB / 0.5615 GB, free: 1.129 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.6278, allocations: 52.03 kB / 0.5616 GB, free: 1.078 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.6278, allocations: 0 / 0.5616 GB, free: 1.078 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003858/0.6282, allocations: 137.6 kB / 0.5617 GB, free: 0.9375 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.6283, allocations: 4 kB / 0.5617 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.6283, allocations: 4 kB / 0.5617 GB, free: 0.9297 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.6283, allocations: 0 / 0.5617 GB, free: 0.9297 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.6286, allocations: 35.97 kB / 0.5618 GB, free: 0.8945 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.6286, allocations: 8 kB / 0.5618 GB, free: 0.8867 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.6289, allocations: 7.906 kB / 0.5618 GB, free: 0.8789 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.6289, allocations: 12 kB / 0.5618 GB, free: 0.8672 MB / 395.1 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.0001231/0.629, allocations: 105 kB / 0.5619 GB, free: 0.7578 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004914/0.6295, allocations: 177.2 kB / 0.5621 GB, free: 0.5781 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.6296, allocations: 27.62 kB / 0.5621 GB, free: 0.5508 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005905/0.6302, allocations: 200.6 kB / 0.5623 GB, free: 360 kB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.6303, allocations: 4 kB / 0.5623 GB, free: 356 kB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6303, allocations: 0 / 0.5623 GB, free: 356 kB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.6303, allocations: 7.984 kB / 0.5623 GB, free: 348 kB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.6315, allocations: 0.6325 MB / 0.5629 GB, free: 15.66 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6316, allocations: 0 / 0.5629 GB, free: 15.66 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.6318, allocations: 28.3 kB / 0.5629 GB, free: 15.63 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/0.6318, allocations: 8.062 kB / 0.5629 GB, free: 15.62 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.6318, allocations: 11.94 kB / 0.563 GB, free: 15.61 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.6318, allocations: 3.984 kB / 0.563 GB, free: 15.61 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.6318, allocations: 0 / 0.563 GB, free: 15.61 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/0.6325, allocations: 401.4 kB / 0.5633 GB, free: 15.18 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.6327, allocations: 124.7 kB / 0.5635 GB, free: 15.04 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.6327, allocations: 7.953 kB / 0.5635 GB, free: 15.03 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.633, allocations: 4 kB / 0.5635 GB, free: 15.02 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.6331, allocations: 19.97 kB / 0.5635 GB, free: 15 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.6331, allocations: 4 kB / 0.5635 GB, free: 15 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0005452/0.6337, allocations: 304.6 kB / 0.5638 GB, free: 14.7 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6337, allocations: 0 / 0.5638 GB, free: 14.7 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005713/0.6343, allocations: 51.94 kB / 0.5638 GB, free: 14.65 MB / 411.1 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.002166/0.6365, allocations: 1.429 MB / 0.5652 GB, free: 13.23 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003822/0.6369, allocations: 99.92 kB / 0.5653 GB, free: 13.13 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.6369, allocations: 4 kB / 0.5653 GB, free: 13.12 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.6371, allocations: 59.86 kB / 0.5654 GB, free: 13.07 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/0.6378, allocations: 53.03 kB / 0.5654 GB, free: 13.02 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.6395, allocations: 0.5054 MB / 0.5659 GB, free: 12.46 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.64, allocations: 0.771 MB / 0.5667 GB, free: 11.66 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.6403, allocations: 95.34 kB / 0.5668 GB, free: 11.57 MB / 411.1 MB Notification: Performance of SimCode: time 1.603e-06/0.6403, allocations: 4 kB / 0.5668 GB, free: 11.56 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.669/3.309, allocations: 4.688 MB / 0.5714 GB, free: 6.883 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat