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.001224/0.001224, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.8/1.8, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009285/0.0009287, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2373/0.2373, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 16 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1244, allocations: 58.86 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.5002, allocations: 87.68 MB / 0.5645 GB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.5004, allocations: 75.16 kB / 0.5646 GB, free: 11.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01447/0.5149, allocations: 5.33 MB / 0.5698 GB, free: 7.445 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.515, allocations: 0 / 0.5698 GB, free: 7.445 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.515, allocations: 0 / 0.5698 GB, free: 7.445 MB / 378.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.0005081/0.5155, allocations: 426.9 kB / 0.5702 GB, free: 6.988 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.5155, allocations: 8.031 kB / 0.5702 GB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.5156, allocations: 34.5 kB / 0.5702 GB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.5156, allocations: 23.5 kB / 0.5702 GB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.5159, allocations: 219 kB / 0.5704 GB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.516, allocations: 0 / 0.5704 GB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.516, allocations: 4 kB / 0.5704 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.5161, allocations: 57.09 kB / 0.5705 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.5161, allocations: 0 / 0.5705 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.5162, allocations: 0 / 0.5705 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5162, allocations: 0 / 0.5705 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.313e-05/0.5162, allocations: 31.05 kB / 0.5705 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.5166, allocations: 294.5 kB / 0.5708 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.5168, allocations: 57.42 kB / 0.5709 GB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.5168, allocations: 3.984 kB / 0.5709 GB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.5169, allocations: 70.42 kB / 0.5709 GB, free: 6.137 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.517, allocations: 4 kB / 0.5709 GB, free: 6.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000514/0.5175, allocations: 193.1 kB / 0.5711 GB, free: 5.973 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.5175, allocations: 51.41 kB / 0.5712 GB, free: 5.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.5177, allocations: 179.2 kB / 0.5713 GB, free: 5.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.5177, allocations: 29.69 kB / 0.5714 GB, free: 5.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.5178, allocations: 98.52 kB / 0.5715 GB, free: 5.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.5178, allocations: 27.08 kB / 0.5715 GB, free: 5.602 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.5178, allocations: 0 / 0.5715 GB, free: 5.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.554e-05/0.5179, allocations: 329.5 kB / 0.5718 GB, free: 5.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.707e-05/0.518, allocations: 23.17 kB / 0.5718 GB, free: 5.262 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.518, allocations: 32.95 kB / 0.5719 GB, free: 5.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.779e-05/0.5181, allocations: 26.44 kB / 0.5719 GB, free: 5.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5181, allocations: 0 / 0.5719 GB, free: 5.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001767/0.5183, allocations: 103.6 kB / 0.572 GB, free: 5.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.5183, allocations: 11.44 kB / 0.572 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5183, allocations: 4.406 kB / 0.572 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.5183, allocations: 0 / 0.572 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.5184, allocations: 12 kB / 0.572 GB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.5184, allocations: 15.88 kB / 0.572 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.5185, allocations: 7.062 kB / 0.572 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.5185, allocations: 4 kB / 0.572 GB, free: 5.078 MB / 378.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 () * Number of clocked 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 0.000107/0.5186, allocations: 128.4 kB / 0.5722 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.5187, allocations: 15.8 kB / 0.5722 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.5189, allocations: 127.2 kB / 0.5723 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5189, allocations: 0 / 0.5723 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5189, allocations: 0 / 0.5723 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5189, allocations: 11.94 kB / 0.5723 GB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.5194, allocations: 405.9 kB / 0.5727 GB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5194, allocations: 3.984 kB / 0.5727 GB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.5194, allocations: 11.31 kB / 0.5727 GB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.5194, allocations: 8.031 kB / 0.5727 GB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.5194, allocations: 3.938 kB / 0.5727 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5194, allocations: 3.953 kB / 0.5727 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5195, allocations: 4 kB / 0.5727 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.5197, allocations: 222 kB / 0.5729 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.5197, allocations: 87.7 kB / 0.573 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.5198, allocations: 13.27 kB / 0.573 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.5199, allocations: 4.734 kB / 0.573 GB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.5199, allocations: 4.75 kB / 0.573 GB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.5199, allocations: 4.562 kB / 0.573 GB, free: 4.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001241/0.52, allocations: 154.4 kB / 0.5732 GB, free: 3.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5201, allocations: 3.938 kB / 0.5732 GB, free: 3.879 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002619/0.5203, allocations: 31.75 kB / 0.5732 GB, free: 3.852 MB / 378.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) * Number of clocked states: 0 () * 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.001359/0.5217, allocations: 1.206 MB / 0.5744 GB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.5219, allocations: 56.8 kB / 0.5745 GB, free: 2.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5219, allocations: 0 / 0.5745 GB, free: 2.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.522, allocations: 33.98 kB / 0.5745 GB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.5222, allocations: 23.28 kB / 0.5745 GB, free: 2.617 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.5233, allocations: 0.8939 MB / 0.5754 GB, free: 1.758 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.5236, allocations: 0.7121 MB / 0.5761 GB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.694e-05/0.5236, allocations: 20.55 kB / 0.5761 GB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.5237, allocations: 34.97 kB / 0.5761 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5237, allocations: 3.938 kB / 0.5761 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.5378, allocations: 3.076 MB / 0.5791 GB, free: 13.93 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.5381, allocations: 209.8 kB / 0.5793 GB, free: 13.69 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.097, allocations: 0 / 0.5793 GB, free: 13.69 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