Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",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.001116/0.001116, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 95.81 kB / 267.1 MB, free: 9.273 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.4236/0.4236, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.107e-05/5.117e-05, allocations: 8 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1487, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.457/0.6058, allocations: 87.59 MB / 0.5584 GB, free: 16.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.606, allocations: 77.95 kB / 0.5585 GB, free: 16.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01434/0.6204, allocations: 5.301 MB / 0.5637 GB, free: 13.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6204, allocations: 0 / 0.5637 GB, free: 13.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.6204, allocations: 4 kB / 0.5637 GB, free: 13.36 MB / 394.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.0004508/0.6209, allocations: 409.8 kB / 0.5641 GB, free: 12.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.621, allocations: 8.031 kB / 0.5641 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.621, allocations: 39.58 kB / 0.5641 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.6211, allocations: 15.34 kB / 0.5641 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.6214, allocations: 211.4 kB / 0.5643 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.6214, allocations: 0 / 0.5643 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.6214, allocations: 11.06 kB / 0.5644 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.6216, allocations: 51.58 kB / 0.5644 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.6216, allocations: 0 / 0.5644 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.6216, allocations: 1.375 kB / 0.5644 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.6216, allocations: 1.266 kB / 0.5644 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.788e-05/0.6217, allocations: 22.73 kB / 0.5644 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.6221, allocations: 297.4 kB / 0.5647 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.6222, allocations: 57.59 kB / 0.5648 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.6223, allocations: 16.05 kB / 0.5648 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.6223, allocations: 3.984 kB / 0.5648 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.6224, allocations: 76.38 kB / 0.5649 GB, free: 12.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.6224, allocations: 0 / 0.5649 GB, free: 12.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004915/0.6229, allocations: 157 kB / 0.565 GB, free: 12.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.623, allocations: 51.41 kB / 0.5651 GB, free: 11.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.6232, allocations: 190.2 kB / 0.5652 GB, free: 11.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.6232, allocations: 28.02 kB / 0.5653 GB, free: 11.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.6232, allocations: 98.69 kB / 0.5654 GB, free: 11.69 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.6233, allocations: 34.08 kB / 0.5654 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.6233, allocations: 0 / 0.5654 GB, free: 11.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.882e-05/0.6234, allocations: 325.8 kB / 0.5657 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/0.6234, allocations: 17.81 kB / 0.5657 GB, free: 11.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/0.6235, allocations: 38.69 kB / 0.5658 GB, free: 11.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.497e-05/0.6235, allocations: 28.28 kB / 0.5658 GB, free: 11.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.6235, allocations: 0 / 0.5658 GB, free: 11.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001499/0.6237, allocations: 102 kB / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.6237, allocations: 8 kB / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6237, allocations: 0 / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6237, allocations: 0 / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.6239, allocations: 12.19 kB / 0.5659 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.6239, allocations: 11.95 kB / 0.5659 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.218e-05/0.6239, allocations: 3.984 kB / 0.5659 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.624, allocations: 7.375 kB / 0.5659 GB, free: 11.14 MB / 394.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 5.023e-05/0.624, allocations: 106.2 kB / 0.566 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.624, allocations: 15.84 kB / 0.566 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.6243, allocations: 124.1 kB / 0.5662 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.6243, allocations: 1.312 kB / 0.5662 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6243, allocations: 0 / 0.5662 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.6243, allocations: 3.953 kB / 0.5662 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.6246, allocations: 409.2 kB / 0.5666 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6247, allocations: 0 / 0.5666 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.6247, allocations: 15.92 kB / 0.5666 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.6247, allocations: 8.031 kB / 0.5666 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.6247, allocations: 3.953 kB / 0.5666 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.6247, allocations: 0 / 0.5666 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6247, allocations: 0 / 0.5666 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.6249, allocations: 218.2 kB / 0.5668 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.625, allocations: 100.6 kB / 0.5669 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.625, allocations: 7.953 kB / 0.5669 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.6251, allocations: 4 kB / 0.5669 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.6251, allocations: 11.36 kB / 0.5669 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.6252, allocations: 4 kB / 0.5669 GB, free: 10.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001004/0.6253, allocations: 152.5 kB / 0.5671 GB, free: 9.988 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6253, allocations: 0 / 0.5671 GB, free: 9.988 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.6255, allocations: 33.94 kB / 0.5671 GB, free: 9.961 MB / 394.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.001299/0.6268, allocations: 1.144 MB / 0.5682 GB, free: 8.883 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.627, allocations: 55.44 kB / 0.5683 GB, free: 8.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.627, allocations: 0 / 0.5683 GB, free: 8.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.325e-05/0.6271, allocations: 31 kB / 0.5683 GB, free: 8.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.6274, allocations: 28.3 kB / 0.5683 GB, free: 8.801 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.6279, allocations: 235.1 kB / 0.5685 GB, free: 8.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.6281, allocations: 0.7123 MB / 0.5692 GB, free: 7.824 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.741e-05/0.6282, allocations: 16.86 kB / 0.5693 GB, free: 7.809 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.403e-05/0.6282, allocations: 37.67 kB / 0.5693 GB, free: 7.789 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6282, allocations: 0 / 0.5693 GB, free: 7.789 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.6429, allocations: 3.08 MB / 0.5723 GB, free: 4.742 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.6431, allocations: 179.6 kB / 0.5725 GB, free: 4.523 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.328, allocations: 0 / 0.5725 GB, free: 4.523 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat