Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",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.0008543/0.0008544, allocations: 97.91 kB / 17 MB, free: 6.844 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.0007699/0.0007701, allocations: 182.3 kB / 17.89 MB, free: 6.078 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.394/1.394, allocations: 223.2 MB / 241.9 MB, free: 14.59 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.2211/0.2211, allocations: 44.23 MB / 337.2 MB, free: 2.559 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003421, allocations: 12 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1201, allocations: 61.93 MB / 471.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002131/0.1223, allocations: 1.398 MB / 473.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1238, allocations: 0.7959 MB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.1239, allocations: 7.938 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.1242, allocations: 27.89 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1244, allocations: 47.83 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1248, allocations: 95.52 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.125, allocations: 79.77 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1251, allocations: 8.234 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1252, allocations: 43.72 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.137e-05/0.1253, allocations: 27.84 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.1253, allocations: 4 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1254, allocations: 39.98 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.742e-05/0.1255, allocations: 19.91 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.1256, allocations: 41.62 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.1258, allocations: 80.11 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1258, allocations: 0 / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1258, allocations: 0 / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1258, allocations: 0 / 474.4 MB, free: 10.87 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.0008071/0.1266, allocations: 394.9 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.884e-05/0.1267, allocations: 12.03 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.1268, allocations: 42.55 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.1269, allocations: 11.81 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.1272, allocations: 202.8 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.1272, allocations: 3.984 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.1273, allocations: 11.95 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.1275, allocations: 49.67 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1275, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.1275, allocations: 7.938 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1275, allocations: 0 / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.1277, allocations: 23.92 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.1282, allocations: 288.9 kB / 475.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.1284, allocations: 54.69 kB / 475.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.881e-05/0.1285, allocations: 20.84 kB / 475.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.1285, allocations: 0 / 475.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.1288, allocations: 75.33 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1288, allocations: 0 / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007407/0.1296, allocations: 173.2 kB / 475.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.1296, allocations: 51.41 kB / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.1299, allocations: 186.2 kB / 475.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1299, allocations: 25.7 kB / 476 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.13, allocations: 112.1 kB / 476.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.13, allocations: 19.7 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.1301, allocations: 8 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1302, allocations: 322.8 kB / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.1303, allocations: 19.98 kB / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.745e-05/0.1304, allocations: 33.7 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.533e-05/0.1305, allocations: 28 kB / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1305, allocations: 4 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002578/0.1308, allocations: 97.44 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.1308, allocations: 7.984 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1308, allocations: 0 / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1309, allocations: 4 kB / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.131, allocations: 15.94 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.131, allocations: 0 / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.1311, allocations: 8 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.1311, allocations: 7.984 kB / 476.6 MB, free: 8.355 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.0001146/0.1312, allocations: 130.3 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.1312, allocations: 11.91 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.1313, allocations: 16.7 kB / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1313, allocations: 4 kB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1313, allocations: 0 / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1313, allocations: 0 / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.1318, allocations: 391.4 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1318, allocations: 4.219 kB / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.1319, allocations: 8 kB / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1319, allocations: 7.938 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.1319, allocations: 7.984 kB / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1319, allocations: 0 / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1319, allocations: 0 / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.1323, allocations: 204.1 kB / 477.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.1323, allocations: 97 kB / 477.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.1324, allocations: 7.984 kB / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.1325, allocations: 0 / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.1325, allocations: 11.98 kB / 477.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.1326, allocations: 7.984 kB / 477.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.1327, allocations: 139.2 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1327, allocations: 0 / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.133, allocations: 23.98 kB / 477.7 MB, free: 7.195 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.001575/0.1345, allocations: 1.108 MB / 478.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003046/0.1349, allocations: 59.91 kB / 478.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1349, allocations: 0 / 478.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.514e-05/0.1349, allocations: 24 kB / 478.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1353, allocations: 27.97 kB / 478.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1366, allocations: 0.6884 MB / 479.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.1369, allocations: 0.7121 MB / 480.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.862e-05/0.137, allocations: 21.17 kB / 480.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.1371, allocations: 35.36 kB / 480.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1371, allocations: 3.938 kB / 480.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.1522, allocations: 2.919 MB / 483.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.1524, allocations: 225.4 kB / 483.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/1.95, allocations: 0 / 483.5 MB, free: 1.566 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat