Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.001234/0.001234, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000857/0.0008571, allocations: 94.28 kB / 261.7 MB, free: 1.684 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.2093/0.2093, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.142e-05/2.144e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 58.85 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4092/0.5215, allocations: 86.96 MB / 0.551 GB, free: 7.645 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.5217, allocations: 71.81 kB / 0.551 GB, free: 7.613 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01289/0.5346, allocations: 5.458 MB / 0.5564 GB, free: 3.289 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5347, allocations: 0 / 0.5564 GB, free: 3.289 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.5347, allocations: 4 kB / 0.5564 GB, free: 3.285 MB / 362.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.0004202/0.5352, allocations: 398.1 kB / 0.5567 GB, free: 2.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.5352, allocations: 8.031 kB / 0.5567 GB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.5353, allocations: 23.8 kB / 0.5568 GB, free: 2.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.5356, allocations: 215.9 kB / 0.557 GB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.5356, allocations: 11.98 kB / 0.557 GB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.5356, allocations: 0 / 0.557 GB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.653e-05/0.5357, allocations: 15.44 kB / 0.557 GB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.865e-05/0.5358, allocations: 56.98 kB / 0.5571 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.5358, allocations: 0 / 0.5571 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.5358, allocations: 0 / 0.5571 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5359, allocations: 0.75 kB / 0.5571 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.5362, allocations: 274.2 kB / 0.5573 GB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.777e-05/0.5363, allocations: 53.31 kB / 0.5574 GB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.432e-05/0.5364, allocations: 16.3 kB / 0.5574 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.5364, allocations: 3.984 kB / 0.5574 GB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.5365, allocations: 66.41 kB / 0.5574 GB, free: 2.086 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.5365, allocations: 4 kB / 0.5575 GB, free: 2.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000409/0.5369, allocations: 151.8 kB / 0.5576 GB, free: 1.953 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.537, allocations: 62.22 kB / 0.5577 GB, free: 1.883 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.5371, allocations: 183.8 kB / 0.5578 GB, free: 1.719 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.5372, allocations: 25.7 kB / 0.5579 GB, free: 1.688 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.5372, allocations: 105.9 kB / 0.558 GB, free: 1.594 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.5372, allocations: 23.45 kB / 0.558 GB, free: 1.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.5372, allocations: 0 / 0.558 GB, free: 1.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.5373, allocations: 325.3 kB / 0.5583 GB, free: 1.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.892e-05/0.5373, allocations: 14.81 kB / 0.5583 GB, free: 1.246 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.5374, allocations: 36.77 kB / 0.5583 GB, free: 1.211 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/0.5374, allocations: 23.06 kB / 0.5584 GB, free: 1.195 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.5374, allocations: 0 / 0.5584 GB, free: 1.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001267/0.5376, allocations: 99.55 kB / 0.5585 GB, free: 1.105 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.5376, allocations: 4 kB / 0.5585 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5376, allocations: 0 / 0.5585 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5376, allocations: 4 kB / 0.5585 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.5377, allocations: 12 kB / 0.5585 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.5377, allocations: 4.031 kB / 0.5585 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.5378, allocations: 11.92 kB / 0.5585 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.5378, allocations: 11.39 kB / 0.5585 GB, free: 1.062 MB / 362.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.713e-05/0.5379, allocations: 102.5 kB / 0.5586 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000114/0.538, allocations: 96.25 kB / 0.5587 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.538, allocations: 15.81 kB / 0.5587 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.5382, allocations: 107.4 kB / 0.5588 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.5382, allocations: 11.97 kB / 0.5588 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.5382, allocations: 7.953 kB / 0.5588 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.5382, allocations: 0 / 0.5588 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.5385, allocations: 377.7 kB / 0.5592 GB, free: 380 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5385, allocations: 8 kB / 0.5592 GB, free: 372 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.5386, allocations: 8 kB / 0.5592 GB, free: 364 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5386, allocations: 0 / 0.5592 GB, free: 364 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.5386, allocations: 7.312 kB / 0.5592 GB, free: 360 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.5386, allocations: 4.234 kB / 0.5592 GB, free: 356 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5386, allocations: 4.031 kB / 0.5592 GB, free: 352 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.5387, allocations: 219.2 kB / 0.5594 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.5388, allocations: 96.91 kB / 0.5595 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.5388, allocations: 7.203 kB / 0.5595 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.5389, allocations: 4.125 kB / 0.5595 GB, free: 0 / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.539, allocations: 12.28 kB / 0.5595 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.539, allocations: 4 kB / 0.5595 GB, free: 15.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.5391, allocations: 147.2 kB / 0.5597 GB, free: 15.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5391, allocations: 0 / 0.5597 GB, free: 15.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.5394, allocations: 35.92 kB / 0.5597 GB, free: 15.83 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) * 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.001196/0.5406, allocations: 1.099 MB / 0.5608 GB, free: 14.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.5407, allocations: 53.98 kB / 0.5608 GB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5407, allocations: 0 / 0.5608 GB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.103e-05/0.5408, allocations: 29.62 kB / 0.5609 GB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.5411, allocations: 19.3 kB / 0.5609 GB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.5416, allocations: 237.7 kB / 0.5611 GB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.5419, allocations: 0.7196 MB / 0.5618 GB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.562e-05/0.542, allocations: 16.55 kB / 0.5618 GB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.5421, allocations: 37.98 kB / 0.5619 GB, free: 13.68 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5421, allocations: 0 / 0.5619 GB, free: 13.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.5653, allocations: 2.799 MB / 0.5646 GB, free: 10.89 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002884/0.5656, allocations: 166 kB / 0.5648 GB, free: 10.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/2.039, allocations: 0 / 0.5648 GB, free: 10.7 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat