Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",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.0009155/0.0009158, allocations: 97.2 kB / 16.99 MB, free: 5.941 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.0009738/0.0009738, allocations: 182.9 kB / 17.87 MB, free: 5.609 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.424/1.424, allocations: 223.2 MB / 241.8 MB, free: 404 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.2313/0.2313, allocations: 44.23 MB / 337.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004095, allocations: 19.09 kB / 409.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 61.92 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.001858/0.1365, allocations: 1.39 MB / 472.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1378, allocations: 0.7881 MB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.747e-05/0.1379, allocations: 0 / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.1383, allocations: 35.78 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.1385, allocations: 47.88 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.1388, allocations: 99.19 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.139, allocations: 59.86 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1391, allocations: 8.234 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.722e-05/0.1392, allocations: 35.84 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.1393, allocations: 31.84 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.1393, allocations: 0 / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.182e-05/0.1394, allocations: 27.98 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.1395, allocations: 27.86 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.1396, allocations: 37.64 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.1397, allocations: 80.09 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1397, allocations: 4 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1398, allocations: 3.938 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1398, allocations: 0 / 474.2 MB, free: 10.99 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.0006638/0.1404, allocations: 402.9 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.291e-05/0.1405, allocations: 8.031 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.043e-05/0.1406, allocations: 34.56 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.1406, allocations: 19.84 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.1409, allocations: 203.6 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1409, allocations: 0 / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.141, allocations: 7.953 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1411, allocations: 53.67 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1412, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1412, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1412, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.363e-05/0.1413, allocations: 23.98 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.1417, allocations: 288.8 kB / 475.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.1418, allocations: 54.67 kB / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1418, allocations: 0 / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.142, allocations: 79.36 kB / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1421, allocations: 4 kB / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005077/0.1426, allocations: 173.2 kB / 475.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.1426, allocations: 55.34 kB / 475.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.1428, allocations: 199.3 kB / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1429, allocations: 29.7 kB / 475.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.1429, allocations: 104.1 kB / 475.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.143, allocations: 23.7 kB / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.143, allocations: 0 / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1431, allocations: 334.8 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-05/0.1431, allocations: 12 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.1432, allocations: 37.7 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.626e-05/0.1433, allocations: 31.97 kB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1433, allocations: 0 / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001586/0.1434, allocations: 93.53 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1435, allocations: 4.188 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1435, allocations: 8.031 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1435, allocations: 3.938 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.1436, allocations: 15.98 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1436, allocations: 4.141 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.1437, allocations: 8 kB / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1437, allocations: 4 kB / 476.5 MB, free: 8.48 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 9.831e-05/0.1438, allocations: 134.2 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.1438, allocations: 15.81 kB / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.1438, allocations: 21.41 kB / 476.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1438, allocations: 0 / 476.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1439, allocations: 3.984 kB / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1439, allocations: 0 / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.1443, allocations: 391.3 kB / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1443, allocations: 3.984 kB / 477 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.1443, allocations: 12 kB / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1443, allocations: 0 / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.1444, allocations: 8.031 kB / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1444, allocations: 3.984 kB / 477.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1444, allocations: 0 / 477.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.1446, allocations: 217.8 kB / 477.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.1447, allocations: 85.02 kB / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1447, allocations: 4 kB / 477.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.1448, allocations: 11.98 kB / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1448, allocations: 4 kB / 477.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1449, allocations: 8.312 kB / 477.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.145, allocations: 152.8 kB / 477.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.145, allocations: 4 kB / 477.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1453, allocations: 23.98 kB / 477.6 MB, free: 7.289 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.001518/0.1468, allocations: 1.18 MB / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.1469, allocations: 55.97 kB / 478.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.147, allocations: 0 / 478.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.752e-05/0.147, allocations: 27.92 kB / 478.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.1473, allocations: 28.25 kB / 478.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.1485, allocations: 0.8822 MB / 479.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.1488, allocations: 0.7082 MB / 480.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.667e-05/0.1488, allocations: 8.891 kB / 480.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.182e-05/0.1489, allocations: 35.42 kB / 480.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1489, allocations: 0 / 480.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.1614, allocations: 2.958 MB / 483.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.1616, allocations: 212.8 kB / 483.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/1.859, allocations: 0 / 483.7 MB, free: 1.371 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat