Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",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.001003/0.001003, allocations: 96.41 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.000982/0.000982, allocations: 181.1 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.343/1.343, allocations: 223.2 MB / 241.8 MB, free: 380 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.2147/0.2147, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 12 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1355, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.00179/0.1373, allocations: 1.351 MB / 472.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1385, allocations: 0.7802 MB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.1386, allocations: 3.938 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.1389, allocations: 27.84 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.139, allocations: 51.88 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.1393, allocations: 87.75 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.1395, allocations: 59.86 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.1395, allocations: 4 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.279e-05/0.1396, allocations: 35.84 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.87e-05/0.1397, allocations: 31.86 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1397, allocations: 0 / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.31e-05/0.1398, allocations: 27.91 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.1398, allocations: 23.92 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.1399, allocations: 41.64 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.14, allocations: 88.08 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1401, allocations: 0 / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1401, allocations: 4 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.1401, allocations: 0 / 474.2 MB, free: 11.02 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.0005188/0.1406, allocations: 410.7 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1407, allocations: 11.97 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.1407, allocations: 46.48 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.1407, allocations: 7.906 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.141, allocations: 206.8 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.141, allocations: 11.92 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.141, allocations: 3.953 kB / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.1412, allocations: 45.69 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.1412, allocations: 0 / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1412, allocations: 3.984 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1412, allocations: 3.984 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.491e-05/0.1413, allocations: 19.94 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.1415, allocations: 193.7 kB / 475.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.1417, allocations: 46.62 kB / 475.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1417, allocations: 8.078 kB / 475.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.1419, allocations: 67.34 kB / 475.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.1419, allocations: 4 kB / 475.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002862/0.1422, allocations: 97.42 kB / 475.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.1422, allocations: 55.41 kB / 475.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.1425, allocations: 258.3 kB / 475.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1425, allocations: 29.7 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.1426, allocations: 108.1 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.1426, allocations: 15.81 kB / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.1426, allocations: 0 / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1427, allocations: 334.8 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.495e-05/0.1428, allocations: 12 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.177e-05/0.1429, allocations: 25.7 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.023e-05/0.1429, allocations: 20 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1429, allocations: 3.938 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001439/0.1431, allocations: 73.59 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1431, allocations: 15.98 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1431, allocations: 3.984 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1431, allocations: 0 / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/0.1432, allocations: 11.94 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1432, allocations: 4 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.1433, allocations: 7.844 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1433, allocations: 7.938 kB / 476.3 MB, free: 8.656 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.0001005/0.1434, allocations: 134.4 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.1434, allocations: 7.906 kB / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.1435, allocations: 28.94 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1435, allocations: 0 / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1435, allocations: 0 / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1435, allocations: 0 / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.1436, allocations: 193.8 kB / 476.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1437, allocations: 4 kB / 476.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.912e-05/0.1437, allocations: 4 kB / 476.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1437, allocations: 4 kB / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.1437, allocations: 7.938 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1437, allocations: 7.938 kB / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1437, allocations: 0 / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.1439, allocations: 105 kB / 476.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.1439, allocations: 96.91 kB / 476.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.144, allocations: 4 kB / 476.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.671e-05/0.144, allocations: 0 / 476.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.144, allocations: 11.94 kB / 476.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.1441, allocations: 0 / 476.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.1442, allocations: 196.5 kB / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1442, allocations: 4 kB / 477.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.1444, allocations: 15.98 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.001197/0.1457, allocations: 0.9569 MB / 478.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.1458, allocations: 39.98 kB / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1458, allocations: 0 / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.707e-05/0.1459, allocations: 19.94 kB / 478.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.1461, allocations: 39.84 kB / 478.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.1473, allocations: 0.9317 MB / 479.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.1476, allocations: 0.7199 MB / 479.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.684e-05/0.1477, allocations: 8.562 kB / 479.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.1477, allocations: 39.42 kB / 479.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1477, allocations: 0 / 479.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.161, allocations: 2.947 MB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.1612, allocations: 216.7 kB / 483 MB, free: 1.992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/1.922, allocations: 3.938 kB / 483 MB, free: 1.988 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat does not exist to compare? outputFormat=mat