Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007234/0.0007236, allocations: 93.62 kB / 17 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007649/0.000765, allocations: 183 kB / 17.89 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2187/0.2187, allocations: 44.23 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003164, allocations: 15.98 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002486/0.1362, allocations: 1.394 MB / 473.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.1384, allocations: 1.378 MB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.129e-05/0.1385, allocations: 0 / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.1388, allocations: 35.83 kB / 474.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.139, allocations: 39.84 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.1393, allocations: 94.83 kB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1395, allocations: 87.67 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.761e-05/0.1396, allocations: 16.23 kB / 474.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.27e-05/0.1397, allocations: 31.8 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1398, allocations: 35.83 kB / 474.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1398, allocations: 4 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.14, allocations: 47.98 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.14, allocations: 15.91 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.1401, allocations: 37.64 kB / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.1402, allocations: 92.08 kB / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1402, allocations: 0 / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.1403, allocations: 0 / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1403, allocations: 3.938 kB / 475 MB, free: 10.3 MB / 350.1 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.0005672/0.1408, allocations: 391 kB / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1409, allocations: 8.031 kB / 475.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.141, allocations: 34.56 kB / 475.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.141, allocations: 11.91 kB / 475.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1413, allocations: 197.1 kB / 475.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1413, allocations: 3.953 kB / 475.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1413, allocations: 8 kB / 475.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.1416, allocations: 75.33 kB / 475.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1416, allocations: 3.906 kB / 475.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1416, allocations: 3.984 kB / 475.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1416, allocations: 0 / 475.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.572e-05/0.1417, allocations: 19.98 kB / 475.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.1421, allocations: 284.8 kB / 476 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.1423, allocations: 58.69 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.1423, allocations: 20.84 kB / 476.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.1424, allocations: 4 kB / 476.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.1426, allocations: 71.27 kB / 476.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1426, allocations: 0 / 476.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005467/0.1431, allocations: 181.2 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.1432, allocations: 81.05 kB / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1433, allocations: 149.8 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.1434, allocations: 29.7 kB / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.1434, allocations: 96.12 kB / 476.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.1435, allocations: 27.64 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.1435, allocations: 0 / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1436, allocations: 318.8 kB / 477 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.948e-05/0.1437, allocations: 23.98 kB / 477 MB, free: 8.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-05/0.1438, allocations: 42.56 kB / 477.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.031e-05/0.1438, allocations: 20 kB / 477.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1438, allocations: 0 / 477.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000179/0.144, allocations: 105.5 kB / 477.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.144, allocations: 8 kB / 477.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.144, allocations: 0 / 477.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1441, allocations: 4.062 kB / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.1442, allocations: 15.98 kB / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1442, allocations: 0 / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.1442, allocations: 11.86 kB / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1443, allocations: 8 kB / 477.2 MB, free: 7.785 MB / 350.1 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.0001019/0.1444, allocations: 118.3 kB / 477.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.1444, allocations: 15.89 kB / 477.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.1444, allocations: 12.72 kB / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1444, allocations: 4 kB / 477.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1445, allocations: 0 / 477.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1445, allocations: 192 / 477.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.1449, allocations: 391.3 kB / 477.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1449, allocations: 3.938 kB / 477.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.1449, allocations: 8 kB / 477.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1449, allocations: 0 / 477.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.145, allocations: 4 kB / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.145, allocations: 4.031 kB / 477.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.145, allocations: 3.953 kB / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.1452, allocations: 204.2 kB / 478 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.1453, allocations: 92.94 kB / 478.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.1453, allocations: 4.375 kB / 478.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.1454, allocations: 4 kB / 478.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.1454, allocations: 19.94 kB / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1455, allocations: 0 / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.895e-05/0.1456, allocations: 121.7 kB / 478.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1456, allocations: 0 / 478.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1458, allocations: 31.98 kB / 478.3 MB, free: 6.656 MB / 350.1 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 (8): * Single equations (assignments): 6 * 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.001503/0.1473, allocations: 1.138 MB / 479.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.1475, allocations: 51.97 kB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1475, allocations: 7.938 kB / 479.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.448e-05/0.1476, allocations: 31.92 kB / 479.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.1479, allocations: 23.94 kB / 479.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.149, allocations: 0.6197 MB / 480.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1492, allocations: 0.7014 MB / 480.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.021e-05/0.1493, allocations: 21.33 kB / 480.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.1494, allocations: 27.42 kB / 480.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1494, allocations: 0 / 480.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.1657, allocations: 3.065 MB / 483.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/0.166, allocations: 225.5 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.045, allocations: 7.938 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat does not exist to compare? outputFormat=mat