Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",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.001301/0.001301, 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.88/1.88, 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.001086/0.001086, allocations: 102.8 kB / 270.2 MB, free: 13.36 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.2174/0.2174, allocations: 43.55 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1332, allocations: 58.86 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3892/0.5225, allocations: 87.72 MB / 0.5645 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.5227, allocations: 79.89 kB / 0.5646 GB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01445/0.5372, allocations: 5.554 MB / 0.57 GB, free: 7.215 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5372, allocations: 0 / 0.57 GB, free: 7.215 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.5372, allocations: 0 / 0.57 GB, free: 7.215 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.0004636/0.5377, allocations: 442.2 kB / 0.5704 GB, free: 6.746 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.5377, allocations: 12.03 kB / 0.5705 GB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.5378, allocations: 30.56 kB / 0.5705 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.5378, allocations: 11.84 kB / 0.5705 GB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.5381, allocations: 233.6 kB / 0.5707 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.5381, allocations: 3.938 kB / 0.5707 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.5381, allocations: 4 kB / 0.5707 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.5383, allocations: 52.8 kB / 0.5708 GB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5383, allocations: 4 kB / 0.5708 GB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.5383, allocations: 0 / 0.5708 GB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-06/0.5383, allocations: 0 / 0.5708 GB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.5384, allocations: 23.17 kB / 0.5708 GB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.5388, allocations: 310.4 kB / 0.5711 GB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.5389, allocations: 61.3 kB / 0.5712 GB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.539, allocations: 4 kB / 0.5712 GB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.5391, allocations: 66.62 kB / 0.5712 GB, free: 5.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.5391, allocations: 0 / 0.5712 GB, free: 5.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000488/0.5396, allocations: 184.8 kB / 0.5714 GB, free: 5.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.5396, allocations: 51.41 kB / 0.5714 GB, free: 5.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.5398, allocations: 205.3 kB / 0.5716 GB, free: 5.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.5399, allocations: 29.7 kB / 0.5717 GB, free: 5.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.5399, allocations: 109.8 kB / 0.5718 GB, free: 5.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.5399, allocations: 27.39 kB / 0.5718 GB, free: 5.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.5399, allocations: 0 / 0.5718 GB, free: 5.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.5401, allocations: 325.9 kB / 0.5721 GB, free: 5.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.5401, allocations: 22.44 kB / 0.5721 GB, free: 4.996 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.937e-05/0.5402, allocations: 32.52 kB / 0.5722 GB, free: 4.965 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.969e-05/0.5403, allocations: 30.42 kB / 0.5722 GB, free: 4.945 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5403, allocations: 4 kB / 0.5722 GB, free: 4.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001772/0.5404, allocations: 106 kB / 0.5723 GB, free: 4.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5405, allocations: 15.42 kB / 0.5723 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.5405, allocations: 384 / 0.5723 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.5405, allocations: 0 / 0.5723 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.5406, allocations: 15 kB / 0.5723 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.5406, allocations: 7.953 kB / 0.5723 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.5407, allocations: 7.984 kB / 0.5723 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.5407, allocations: 8.031 kB / 0.5724 GB, free: 4.801 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.000102/0.5408, allocations: 124.5 kB / 0.5725 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.5408, allocations: 15.89 kB / 0.5725 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.5411, allocations: 129.4 kB / 0.5726 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5411, allocations: 0 / 0.5726 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5411, allocations: 0 / 0.5726 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.5411, allocations: 3.953 kB / 0.5726 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.5416, allocations: 423.5 kB / 0.573 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5416, allocations: 0 / 0.573 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.5416, allocations: 12.56 kB / 0.573 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.5416, allocations: 4 kB / 0.573 GB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.5417, allocations: 5.109 kB / 0.573 GB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5417, allocations: 7.891 kB / 0.573 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5417, allocations: 4 kB / 0.5731 GB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.5419, allocations: 226.4 kB / 0.5733 GB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-05/0.542, allocations: 93 kB / 0.5734 GB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.5421, allocations: 7.703 kB / 0.5734 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.5421, allocations: 4 kB / 0.5734 GB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.5422, allocations: 7.984 kB / 0.5734 GB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.5422, allocations: 4 kB / 0.5734 GB, free: 3.734 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001555/0.5424, allocations: 176.7 kB / 0.5735 GB, free: 3.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5424, allocations: 0 / 0.5735 GB, free: 3.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.5426, allocations: 31 kB / 0.5736 GB, free: 3.562 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.001369/0.544, allocations: 1.196 MB / 0.5747 GB, free: 2.422 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.5442, allocations: 62.91 kB / 0.5748 GB, free: 2.375 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5442, allocations: 0 / 0.5748 GB, free: 2.375 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.5443, allocations: 38.42 kB / 0.5748 GB, free: 2.344 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.5445, allocations: 23.3 kB / 0.5749 GB, free: 2.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.5457, allocations: 0.9364 MB / 0.5758 GB, free: 1.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.546, allocations: 0.7146 MB / 0.5765 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.257e-05/0.5461, allocations: 24.55 kB / 0.5765 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.5461, allocations: 41.23 kB / 0.5765 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/0.5461, allocations: 112 / 0.5765 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0122/0.5583, allocations: 3.226 MB / 0.5797 GB, free: 13.43 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/0.5585, allocations: 213.8 kB / 0.5799 GB, free: 13.19 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.141, allocations: 3.938 kB / 0.5799 GB, free: 13.19 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat