Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",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.0008401/0.00084, allocations: 94.92 kB / 17 MB, free: 6.348 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.0008383/0.0008384, allocations: 182.3 kB / 17.89 MB, free: 5.922 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.39/1.39, allocations: 223.3 MB / 241.9 MB, free: 264 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.2165/0.2165, allocations: 44.22 MB / 337.2 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003196, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1319, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.001935/0.1338, allocations: 1.472 MB / 473.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1352, allocations: 0.8856 MB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.37e-05/0.1353, allocations: 3.938 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.1358, allocations: 299.4 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.1361, allocations: 191.5 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.1365, allocations: 143.2 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.1367, allocations: 207.4 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.475e-05/0.1368, allocations: 9.547 kB / 474.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.1369, allocations: 119.6 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.1371, allocations: 163.6 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1372, allocations: 3.938 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1373, allocations: 43.92 kB / 475.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.1374, allocations: 135.6 kB / 475.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.636e-05/0.1375, allocations: 77.45 kB / 475.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.1378, allocations: 275.8 kB / 475.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1378, allocations: 0 / 475.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1378, allocations: 0 / 475.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1378, allocations: 0 / 475.7 MB, free: 9.629 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007834/0.1386, allocations: 0.6687 MB / 476.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1386, allocations: 12.03 kB / 476.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.1387, allocations: 38.5 kB / 476.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.1387, allocations: 47.34 kB / 476.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.1392, allocations: 427.1 kB / 476.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1392, allocations: 0 / 476.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.1393, allocations: 7.953 kB / 476.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1394, allocations: 83.36 kB / 476.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1395, allocations: 4 kB / 476.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1395, allocations: 0 / 476.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1395, allocations: 4 kB / 476.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.71e-05/0.1396, allocations: 35.91 kB / 477 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.1399, allocations: 370.4 kB / 477.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.1402, allocations: 113.2 kB / 477.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.208e-05/0.1403, allocations: 37.7 kB / 477.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.1403, allocations: 0 / 477.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.1405, allocations: 113 kB / 477.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1406, allocations: 0 / 477.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004304/0.141, allocations: 204.9 kB / 477.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.141, allocations: 81.11 kB / 477.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009865/0.142, allocations: 1.03 MB / 478.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.1421, allocations: 29.7 kB / 478.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1422, allocations: 232.1 kB / 479.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.1423, allocations: 31.64 kB / 479.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-06/0.1423, allocations: 8 kB / 479.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1425, allocations: 362.8 kB / 479.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.1425, allocations: 27.98 kB / 479.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-05/0.1426, allocations: 63.41 kB / 479.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.98e-05/0.1427, allocations: 35.94 kB / 479.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1427, allocations: 0 / 479.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002703/0.143, allocations: 172.8 kB / 479.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.143, allocations: 8 kB / 479.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.143, allocations: 0 / 479.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1431, allocations: 0 / 479.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1432, allocations: 23.98 kB / 479.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1432, allocations: 0 / 479.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.1433, allocations: 19.91 kB / 479.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.1433, allocations: 4 kB / 479.9 MB, free: 5.109 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002131/0.1436, allocations: 230.2 kB / 480.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.1436, allocations: 51.39 kB / 480.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.924e-05/0.1437, allocations: 60 kB / 480.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1437, allocations: 0 / 480.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1437, allocations: 0 / 480.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1437, allocations: 0 / 480.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.144, allocations: 346 kB / 480.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.144, allocations: 4 kB / 480.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.1441, allocations: 8 kB / 480.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1441, allocations: 0 / 480.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.1441, allocations: 15.94 kB / 480.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1441, allocations: 0 / 480.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1441, allocations: 0 / 480.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.1444, allocations: 197.3 kB / 480.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.1446, allocations: 144.4 kB / 480.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.1446, allocations: 8 kB / 480.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-05/0.1447, allocations: 7.953 kB / 480.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.1447, allocations: 11.92 kB / 481 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.1448, allocations: 4 kB / 481 MB, free: 3.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007671/0.1455, allocations: 0.776 MB / 481.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1455, allocations: 0 / 481.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1458, allocations: 43.98 kB / 481.8 MB, free: 3.125 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001351/0.1472, allocations: 1.057 MB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.1474, allocations: 79.89 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1474, allocations: 8.125 kB / 482.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.1475, allocations: 35.92 kB / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1479, allocations: 74.14 kB / 483 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.1516, allocations: 2.914 MB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.1521, allocations: 0.8391 MB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.1523, allocations: 58.95 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.1525, allocations: 147.4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1525, allocations: 0 / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.1717, allocations: 8.027 MB / 495 MB, free: 6.074 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.1719, allocations: 224.3 kB / 495.2 MB, free: 5.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.115, allocations: 7.938 kB / 495.2 MB, free: 5.824 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat