Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",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.0009191/0.0009191, allocations: 96.31 kB / 16.98 MB, free: 5.938 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.0008537/0.0008538, allocations: 188.7 kB / 17.88 MB, free: 5.594 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.356/1.356, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.213/0.213, allocations: 44.23 MB / 337.1 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003602, allocations: 13.78 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.142, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002116/0.1442, allocations: 1.348 MB / 472.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1455, allocations: 0.7763 MB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.42e-05/0.1457, allocations: 7.938 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.146, allocations: 27.84 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.1463, allocations: 55.86 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.1466, allocations: 91.27 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.1467, allocations: 55.88 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.491e-05/0.1468, allocations: 11.97 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.077e-05/0.1469, allocations: 31.86 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.062e-05/0.147, allocations: 27.84 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.147, allocations: 8 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.829e-05/0.1471, allocations: 19.94 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.1472, allocations: 27.91 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.167e-05/0.1472, allocations: 37.64 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.1474, allocations: 84.09 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1474, allocations: 0 / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1474, allocations: 0 / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1475, allocations: 4 kB / 474.2 MB, free: 11.03 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005339/0.148, allocations: 418.7 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.148, allocations: 12.03 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/0.1481, allocations: 42.5 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.1481, allocations: 11.91 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1484, allocations: 206.8 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1484, allocations: 4 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.1484, allocations: 3.953 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1486, allocations: 49.67 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1486, allocations: 0 / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1486, allocations: 4 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1486, allocations: 0 / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.1487, allocations: 23.92 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.1489, allocations: 185.7 kB / 475.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.149, allocations: 50.62 kB / 475.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1491, allocations: 3.984 kB / 475.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.1493, allocations: 71.44 kB / 475.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1493, allocations: 0 / 475.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002732/0.1496, allocations: 105.3 kB / 475.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1496, allocations: 55.41 kB / 475.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.1499, allocations: 258.3 kB / 475.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1499, allocations: 29.7 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.15, allocations: 112.1 kB / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.15, allocations: 11.81 kB / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.15, allocations: 4 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1502, allocations: 326.8 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.918e-05/0.1502, allocations: 15.98 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.022e-05/0.1503, allocations: 25.7 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.266e-05/0.1503, allocations: 23.94 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1503, allocations: 0 / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001447/0.1505, allocations: 73.59 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1505, allocations: 15.98 kB / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1505, allocations: 0 / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1505, allocations: 0 / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.1506, allocations: 15.92 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1506, allocations: 4 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.1507, allocations: 11.84 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.1507, allocations: 7.938 kB / 476.3 MB, free: 8.652 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 (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.0001035/0.1508, allocations: 129.6 kB / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.1508, allocations: 11.91 kB / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.1509, allocations: 28.94 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1509, allocations: 0 / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1509, allocations: 320 / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1509, allocations: 0 / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.1511, allocations: 205.5 kB / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1511, allocations: 0 / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.1511, allocations: 4 kB / 476.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1511, allocations: 0 / 476.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1511, allocations: 4 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1511, allocations: 3.953 kB / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1512, allocations: 0 / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.1513, allocations: 113 kB / 476.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.1514, allocations: 92.91 kB / 476.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.1514, allocations: 4 kB / 476.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.591e-05/0.1515, allocations: 0 / 476.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.1515, allocations: 11.95 kB / 476.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1515, allocations: 3.984 kB / 476.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.1517, allocations: 196.5 kB / 477.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1517, allocations: 0 / 477.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.1519, allocations: 16 kB / 477.1 MB, free: 7.75 MB / 350.1 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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001363/0.1533, allocations: 0.9401 MB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.1535, allocations: 47.97 kB / 478.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1535, allocations: 0 / 478.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.569e-05/0.1535, allocations: 19.94 kB / 478.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.1538, allocations: 34.05 kB / 478.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.155, allocations: 0.9395 MB / 479.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1553, allocations: 0.716 MB / 479.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.977e-05/0.1553, allocations: 20.52 kB / 479.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.1554, allocations: 39.42 kB / 479.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1554, allocations: 0 / 479.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.1683, allocations: 2.937 MB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.1685, allocations: 213.7 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/1.859, allocations: 7.438 kB / 483 MB, free: 1.992 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat