Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.001303/0.001304, 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.904/1.904, 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.0009938/0.0009938, allocations: 94.8 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.2291/0.2291, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003462, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1241, allocations: 58.85 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3795/0.5036, allocations: 87.71 MB / 0.5645 GB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.5038, allocations: 73.03 kB / 0.5646 GB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01467/0.5185, allocations: 5.503 MB / 0.57 GB, free: 7.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5186, allocations: 0 / 0.57 GB, free: 7.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.5186, allocations: 4 kB / 0.57 GB, free: 7.328 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.0005574/0.5192, allocations: 434.2 kB / 0.5704 GB, free: 6.863 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.5192, allocations: 12.03 kB / 0.5704 GB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.5193, allocations: 38.11 kB / 0.5704 GB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.5193, allocations: 7.906 kB / 0.5704 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.5196, allocations: 217.8 kB / 0.5706 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.5196, allocations: 0 / 0.5706 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.5197, allocations: 11.75 kB / 0.5706 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.5198, allocations: 56.55 kB / 0.5707 GB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.5198, allocations: 11.84 kB / 0.5707 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.5198, allocations: 0 / 0.5707 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5198, allocations: 0 / 0.5707 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.133e-05/0.5199, allocations: 23.66 kB / 0.5707 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.5203, allocations: 293.4 kB / 0.571 GB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.5205, allocations: 61.11 kB / 0.5711 GB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.5205, allocations: 4 kB / 0.5711 GB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.5207, allocations: 66.7 kB / 0.5711 GB, free: 6.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.5207, allocations: 0 / 0.5711 GB, free: 6.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004922/0.5212, allocations: 183.3 kB / 0.5713 GB, free: 5.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.5212, allocations: 55.39 kB / 0.5714 GB, free: 5.797 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.5214, allocations: 192.4 kB / 0.5716 GB, free: 5.625 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.5214, allocations: 32.39 kB / 0.5716 GB, free: 5.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.5215, allocations: 116.2 kB / 0.5717 GB, free: 5.488 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.5215, allocations: 11.31 kB / 0.5717 GB, free: 5.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.5215, allocations: 4 kB / 0.5717 GB, free: 5.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5216, allocations: 325.9 kB / 0.572 GB, free: 5.156 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.044e-05/0.5217, allocations: 19.17 kB / 0.572 GB, free: 5.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.5218, allocations: 40.95 kB / 0.5721 GB, free: 5.105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.446e-05/0.5218, allocations: 23.39 kB / 0.5721 GB, free: 5.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5218, allocations: 0 / 0.5721 GB, free: 5.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001731/0.522, allocations: 111.2 kB / 0.5722 GB, free: 4.996 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.522, allocations: 4 kB / 0.5722 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.522, allocations: 0 / 0.5722 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.5221, allocations: 4 kB / 0.5722 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.5221, allocations: 19.92 kB / 0.5722 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5222, allocations: 3.953 kB / 0.5722 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.5222, allocations: 4.375 kB / 0.5722 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.5222, allocations: 4.031 kB / 0.5722 GB, free: 4.957 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.0001119/0.5223, allocations: 133 kB / 0.5724 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.5224, allocations: 15.81 kB / 0.5724 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.5226, allocations: 123.9 kB / 0.5725 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5226, allocations: 0 / 0.5725 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5226, allocations: 4 kB / 0.5725 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.5226, allocations: 7.938 kB / 0.5725 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.5231, allocations: 423.1 kB / 0.5729 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.5231, allocations: 3.938 kB / 0.5729 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.5232, allocations: 12.55 kB / 0.5729 GB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5232, allocations: 0 / 0.5729 GB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.5232, allocations: 5.875 kB / 0.5729 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.5232, allocations: 7.891 kB / 0.5729 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5232, allocations: 0 / 0.5729 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.5235, allocations: 222.8 kB / 0.5732 GB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.5235, allocations: 95.56 kB / 0.5732 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.5236, allocations: 5.203 kB / 0.5733 GB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.5236, allocations: 5.188 kB / 0.5733 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.5237, allocations: 8.734 kB / 0.5733 GB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.5237, allocations: 4.625 kB / 0.5733 GB, free: 3.875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.5238, allocations: 165.5 kB / 0.5734 GB, free: 3.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5238, allocations: 0 / 0.5734 GB, free: 3.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.5241, allocations: 31.38 kB / 0.5735 GB, free: 3.711 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.001357/0.5254, allocations: 1.205 MB / 0.5746 GB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.5256, allocations: 57.48 kB / 0.5747 GB, free: 2.523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5256, allocations: 0 / 0.5747 GB, free: 2.523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.226e-05/0.5257, allocations: 44.69 kB / 0.5747 GB, free: 2.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.5259, allocations: 27.48 kB / 0.5748 GB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.5271, allocations: 0.9203 MB / 0.5757 GB, free: 1.574 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.5274, allocations: 0.7121 MB / 0.5764 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.935e-05/0.5275, allocations: 20.55 kB / 0.5764 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.5276, allocations: 38.11 kB / 0.5764 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5276, allocations: 0 / 0.5764 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.5413, allocations: 3.15 MB / 0.5795 GB, free: 13.67 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.5415, allocations: 213.8 kB / 0.5797 GB, free: 13.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.16, allocations: 0 / 0.5797 GB, free: 13.43 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat