Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",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.001195/0.001195, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.872/1.872, 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.0009395/0.0009393, 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.223/0.223, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004047, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1277, allocations: 58.86 MB / 490.4 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3918/0.5195, allocations: 87.55 MB / 0.5644 GB, free: 12.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.5198, allocations: 80.89 kB / 0.5644 GB, free: 12.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01398/0.5338, allocations: 5.226 MB / 0.5695 GB, free: 7.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5338, allocations: 0 / 0.5695 GB, free: 7.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.5338, allocations: 8 kB / 0.5695 GB, free: 7.723 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004969/0.5344, allocations: 407.6 kB / 0.5699 GB, free: 7.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.5344, allocations: 16.03 kB / 0.5699 GB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.5345, allocations: 34.5 kB / 0.57 GB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.5345, allocations: 7.906 kB / 0.57 GB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.5348, allocations: 220.3 kB / 0.5702 GB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.5348, allocations: 0 / 0.5702 GB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.5348, allocations: 0 / 0.5702 GB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.535, allocations: 51.67 kB / 0.5702 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.535, allocations: 0 / 0.5702 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.535, allocations: 0 / 0.5702 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.535, allocations: 0 / 0.5702 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.389e-05/0.5351, allocations: 18.92 kB / 0.5703 GB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.5353, allocations: 190.4 kB / 0.5704 GB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.5354, allocations: 52.05 kB / 0.5705 GB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.5354, allocations: 3.984 kB / 0.5705 GB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.5356, allocations: 76.36 kB / 0.5706 GB, free: 6.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.5356, allocations: 0 / 0.5706 GB, free: 6.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002655/0.5359, allocations: 98.62 kB / 0.5707 GB, free: 6.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.5359, allocations: 55.41 kB / 0.5707 GB, free: 6.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.5361, allocations: 167.3 kB / 0.5709 GB, free: 6.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.5361, allocations: 29.7 kB / 0.5709 GB, free: 6.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.5362, allocations: 106.2 kB / 0.571 GB, free: 6.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.5362, allocations: 7.812 kB / 0.571 GB, free: 6.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.5362, allocations: 0 / 0.571 GB, free: 6.113 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.5364, allocations: 330.5 kB / 0.5713 GB, free: 5.789 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.882e-05/0.5365, allocations: 15.8 kB / 0.5713 GB, free: 5.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.358e-05/0.5365, allocations: 28.77 kB / 0.5714 GB, free: 5.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.972e-05/0.5366, allocations: 22.27 kB / 0.5714 GB, free: 5.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5366, allocations: 0 / 0.5714 GB, free: 5.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001514/0.5368, allocations: 83.47 kB / 0.5715 GB, free: 5.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.5368, allocations: 14.67 kB / 0.5715 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5368, allocations: 0 / 0.5715 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.5368, allocations: 0 / 0.5715 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.037e-05/0.5369, allocations: 12 kB / 0.5715 GB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5369, allocations: 3.938 kB / 0.5715 GB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.537, allocations: 7.625 kB / 0.5715 GB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.537, allocations: 0 / 0.5715 GB, free: 5.625 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 (7): * Single equations (assignments): 7 * 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.0001153/0.5371, allocations: 133.1 kB / 0.5716 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.5371, allocations: 15.81 kB / 0.5717 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.5373, allocations: 97.09 kB / 0.5717 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5374, allocations: 0 / 0.5717 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5374, allocations: 0 / 0.5717 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5374, allocations: 4 kB / 0.5718 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.5375, allocations: 190.7 kB / 0.5719 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5376, allocations: 3.953 kB / 0.5719 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.5376, allocations: 7.938 kB / 0.5719 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5376, allocations: 0 / 0.5719 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.5376, allocations: 384 / 0.5719 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5376, allocations: 0 / 0.5719 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5376, allocations: 8 kB / 0.572 GB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.5378, allocations: 114.5 kB / 0.5721 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-05/0.5379, allocations: 92.95 kB / 0.5722 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.5379, allocations: 3.5 kB / 0.5722 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.538, allocations: 4 kB / 0.5722 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.538, allocations: 7.984 kB / 0.5722 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.538, allocations: 0 / 0.5722 GB, free: 4.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.5381, allocations: 151.2 kB / 0.5723 GB, free: 4.777 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5382, allocations: 3.938 kB / 0.5723 GB, free: 4.773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.5384, allocations: 23.91 kB / 0.5723 GB, free: 4.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001243/0.5396, allocations: 0.9594 MB / 0.5733 GB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.5398, allocations: 49.66 kB / 0.5733 GB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5398, allocations: 0 / 0.5733 GB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.855e-05/0.5398, allocations: 17.31 kB / 0.5733 GB, free: 3.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.5401, allocations: 25.03 kB / 0.5734 GB, free: 3.773 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.5412, allocations: 0.7954 MB / 0.5741 GB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.5415, allocations: 0.7082 MB / 0.5748 GB, free: 2.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.823e-05/0.5416, allocations: 12.42 kB / 0.5748 GB, free: 2.234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.5416, allocations: 34.98 kB / 0.5749 GB, free: 2.219 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5416, allocations: 0 / 0.5749 GB, free: 2.219 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.5545, allocations: 2.716 MB / 0.5775 GB, free: 15.53 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.5548, allocations: 221.7 kB / 0.5777 GB, free: 15.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.077, allocations: 0 / 0.5777 GB, free: 15.27 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat