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.001566/0.001566, allocations: 183.8 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.764/1.764, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009251/0.0009251, allocations: 91.78 kB / 267 MB, free: 9.289 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.4569/0.4569, allocations: 43.46 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.606e-05/4.608e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1475, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4538/0.6015, allocations: 87.57 MB / 0.5584 GB, free: 16.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.6018, allocations: 71.84 kB / 0.5585 GB, free: 16.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.015/0.6168, allocations: 5.313 MB / 0.5637 GB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6169, allocations: 4 kB / 0.5637 GB, free: 13.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.6169, allocations: 0 / 0.5637 GB, free: 13.23 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.000665/0.6176, allocations: 406.4 kB / 0.5641 GB, free: 12.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.208e-05/0.6177, allocations: 12.03 kB / 0.5641 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.376e-05/0.6177, allocations: 39.45 kB / 0.5641 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.6178, allocations: 11.34 kB / 0.5642 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.6182, allocations: 215.8 kB / 0.5644 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.6182, allocations: 4 kB / 0.5644 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.6182, allocations: 0 / 0.5644 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.6184, allocations: 57.97 kB / 0.5644 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.6184, allocations: 4 kB / 0.5644 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.6185, allocations: 1.375 kB / 0.5644 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.6185, allocations: 0 / 0.5644 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.232e-05/0.6186, allocations: 26.62 kB / 0.5644 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.6191, allocations: 290.2 kB / 0.5647 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.6192, allocations: 53.55 kB / 0.5648 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.6193, allocations: 26.39 kB / 0.5648 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.6193, allocations: 3.938 kB / 0.5648 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.6195, allocations: 65.31 kB / 0.5649 GB, free: 12.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.6195, allocations: 0 / 0.5649 GB, free: 12.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000465/0.62, allocations: 157.9 kB / 0.565 GB, free: 11.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.62, allocations: 55.41 kB / 0.5651 GB, free: 11.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.6202, allocations: 184.3 kB / 0.5652 GB, free: 11.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.6202, allocations: 29.52 kB / 0.5653 GB, free: 11.65 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.6203, allocations: 105.9 kB / 0.5654 GB, free: 11.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.6203, allocations: 30.45 kB / 0.5654 GB, free: 11.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.6203, allocations: 3.875 kB / 0.5654 GB, free: 11.53 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.6204, allocations: 323.4 kB / 0.5657 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.202e-05/0.6204, allocations: 15.56 kB / 0.5657 GB, free: 11.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-05/0.6205, allocations: 41.62 kB / 0.5658 GB, free: 11.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.241e-05/0.6205, allocations: 22.75 kB / 0.5658 GB, free: 11.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.6205, allocations: 0 / 0.5658 GB, free: 11.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001334/0.6207, allocations: 99 kB / 0.5659 GB, free: 11.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.6207, allocations: 4 kB / 0.5659 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6207, allocations: 3.938 kB / 0.5659 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.6207, allocations: 0 / 0.5659 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.484e-05/0.6208, allocations: 19.14 kB / 0.5659 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.6209, allocations: 3.953 kB / 0.5659 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.6209, allocations: 7.938 kB / 0.5659 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.6209, allocations: 1.547 kB / 0.5659 GB, free: 11.05 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 6.061e-05/0.621, allocations: 109.8 kB / 0.566 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.621, allocations: 19.84 kB / 0.566 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.6212, allocations: 118.7 kB / 0.5662 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6213, allocations: 4 kB / 0.5662 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.6213, allocations: 0 / 0.5662 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.6213, allocations: 3.953 kB / 0.5662 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.6217, allocations: 405.8 kB / 0.5666 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6217, allocations: 4 kB / 0.5666 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.6218, allocations: 18.41 kB / 0.5666 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6218, allocations: 0 / 0.5666 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.6218, allocations: 7.891 kB / 0.5666 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6218, allocations: 5.594 kB / 0.5666 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6218, allocations: 0.75 kB / 0.5666 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.622, allocations: 220.2 kB / 0.5668 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.6221, allocations: 93.47 kB / 0.5669 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.6221, allocations: 13.23 kB / 0.5669 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.6222, allocations: 4.188 kB / 0.5669 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.6222, allocations: 6.812 kB / 0.5669 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.6222, allocations: 5.453 kB / 0.5669 GB, free: 10.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.6224, allocations: 155.5 kB / 0.5671 GB, free: 9.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6224, allocations: 0 / 0.5671 GB, free: 9.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002501/0.6226, allocations: 33.27 kB / 0.5671 GB, free: 9.93 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.00134/0.624, allocations: 1.136 MB / 0.5682 GB, free: 8.871 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.6241, allocations: 51.31 kB / 0.5683 GB, free: 8.832 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6242, allocations: 0 / 0.5683 GB, free: 8.832 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.139e-05/0.6242, allocations: 31.62 kB / 0.5683 GB, free: 8.809 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.6245, allocations: 28.8 kB / 0.5683 GB, free: 8.789 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.6251, allocations: 236.8 kB / 0.5685 GB, free: 8.547 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.6253, allocations: 0.7158 MB / 0.5692 GB, free: 7.809 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.3e-05/0.6254, allocations: 12.86 kB / 0.5693 GB, free: 7.797 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.6255, allocations: 39.73 kB / 0.5693 GB, free: 7.773 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6255, allocations: 0 / 0.5693 GB, free: 7.773 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.64, allocations: 3.08 MB / 0.5723 GB, free: 4.727 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.6402, allocations: 191.6 kB / 0.5725 GB, free: 4.496 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.314, allocations: 0 / 0.5725 GB, free: 4.496 MB / 394.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