Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4",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.001533/0.001532, allocations: 179.4 kB / 8.364 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.208/2.208, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001074/0.001074, allocations: 93.33 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.3038/0.3038, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 5.219e-05/5.238e-05, allocations: 8 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4262, allocations: 58.86 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1651/0.5913, allocations: 86.96 MB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.5917, allocations: 75.45 kB / 0.551 GB, free: 12.2 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02433/0.616, allocations: 5.453 MB / 0.5563 GB, free: 6.742 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6161, allocations: 0 / 0.5563 GB, free: 6.742 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.6161, allocations: 8 kB / 0.5563 GB, free: 6.734 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.0005883/0.6167, allocations: 402.8 kB / 0.5567 GB, free: 6.297 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.6168, allocations: 8.031 kB / 0.5567 GB, free: 6.289 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.6169, allocations: 15.81 kB / 0.5567 GB, free: 6.273 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.6173, allocations: 214.8 kB / 0.5569 GB, free: 6.023 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.6173, allocations: 8 kB / 0.5569 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.6173, allocations: 0 / 0.5569 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001044/0.6175, allocations: 19.98 kB / 0.557 GB, free: 5.996 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.6176, allocations: 57.62 kB / 0.557 GB, free: 5.934 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.6176, allocations: 0 / 0.557 GB, free: 5.934 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.6176, allocations: 3.984 kB / 0.557 GB, free: 5.93 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.6177, allocations: 0 / 0.557 GB, free: 5.93 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.6181, allocations: 273.4 kB / 0.5573 GB, free: 5.625 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.6183, allocations: 50.69 kB / 0.5573 GB, free: 5.566 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.6184, allocations: 20.98 kB / 0.5574 GB, free: 5.543 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.6184, allocations: 0 / 0.5574 GB, free: 5.543 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.6186, allocations: 71.27 kB / 0.5574 GB, free: 5.461 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.6186, allocations: 4 kB / 0.5574 GB, free: 5.457 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005901/0.6192, allocations: 145.2 kB / 0.5576 GB, free: 5.309 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.6192, allocations: 59.34 kB / 0.5576 GB, free: 5.238 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.6195, allocations: 185.5 kB / 0.5578 GB, free: 5.047 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.6196, allocations: 29.7 kB / 0.5578 GB, free: 5.012 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.6197, allocations: 166.6 kB / 0.558 GB, free: 4.848 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.6197, allocations: 23.7 kB / 0.558 GB, free: 4.824 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.6197, allocations: 0 / 0.558 GB, free: 4.824 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6199, allocations: 314.8 kB / 0.5583 GB, free: 4.508 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.6199, allocations: 16 kB / 0.5583 GB, free: 4.492 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.62, allocations: 33.7 kB / 0.5584 GB, free: 4.453 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.5e-05/0.6201, allocations: 24 kB / 0.5584 GB, free: 4.43 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6201, allocations: 0 / 0.5584 GB, free: 4.43 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002151/0.6204, allocations: 85.52 kB / 0.5585 GB, free: 4.34 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.6204, allocations: 8 kB / 0.5585 GB, free: 4.332 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6204, allocations: 0 / 0.5585 GB, free: 4.332 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.6204, allocations: 192 / 0.5585 GB, free: 4.332 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.6206, allocations: 19.98 kB / 0.5585 GB, free: 4.312 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.6206, allocations: 7.938 kB / 0.5585 GB, free: 4.305 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.98e-05/0.6207, allocations: 3.938 kB / 0.5585 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.6208, allocations: 11.98 kB / 0.5585 GB, free: 4.289 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.686e-05/0.6209, allocations: 108.9 kB / 0.5586 GB, free: 4.176 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002247/0.6211, allocations: 93.56 kB / 0.5587 GB, free: 4.078 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.6211, allocations: 11.81 kB / 0.5587 GB, free: 4.066 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.6215, allocations: 115.4 kB / 0.5588 GB, free: 3.949 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.6215, allocations: 0 / 0.5588 GB, free: 3.949 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.6215, allocations: 3.953 kB / 0.5588 GB, free: 3.945 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6215, allocations: 0 / 0.5588 GB, free: 3.945 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/0.6221, allocations: 383.9 kB / 0.5592 GB, free: 3.523 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.6222, allocations: 192 / 0.5592 GB, free: 3.523 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.931e-05/0.6223, allocations: 12 kB / 0.5592 GB, free: 3.512 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.6223, allocations: 4 kB / 0.5592 GB, free: 3.508 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.6223, allocations: 3.984 kB / 0.5592 GB, free: 3.504 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.6223, allocations: 7.938 kB / 0.5592 GB, free: 3.496 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.6223, allocations: 0 / 0.5592 GB, free: 3.496 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.6226, allocations: 226.1 kB / 0.5594 GB, free: 3.25 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.65e-05/0.6227, allocations: 89.02 kB / 0.5595 GB, free: 3.145 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.6228, allocations: 7.953 kB / 0.5595 GB, free: 3.137 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.6229, allocations: 3.984 kB / 0.5595 GB, free: 3.133 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.623, allocations: 4 kB / 0.5595 GB, free: 3.129 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.623, allocations: 8 kB / 0.5595 GB, free: 3.121 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.6232, allocations: 152.2 kB / 0.5597 GB, free: 2.973 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6232, allocations: 4 kB / 0.5597 GB, free: 2.969 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003949/0.6236, allocations: 28 kB / 0.5597 GB, free: 2.941 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.00175/0.6254, allocations: 1.109 MB / 0.5608 GB, free: 1.852 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.6257, allocations: 47.98 kB / 0.5608 GB, free: 1.805 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6257, allocations: 4.062 kB / 0.5609 GB, free: 1.801 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.632e-05/0.6258, allocations: 31.94 kB / 0.5609 GB, free: 1.77 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.6262, allocations: 27.83 kB / 0.5609 GB, free: 1.742 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008235/0.627, allocations: 265.3 kB / 0.5612 GB, free: 1.438 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.6274, allocations: 0.7196 MB / 0.5619 GB, free: 0.6914 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.6275, allocations: 39.48 kB / 0.5619 GB, free: 0.6523 MB / 395.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6275, allocations: 0 / 0.5619 GB, free: 0.6523 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.625/3.252, allocations: 2.583 MB / 0.5644 GB, free: 14.08 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat