Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",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.0009479/0.0009479, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 175.4 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.4 MB / 222.8 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3949/0.3949, allocations: 43.55 MB / 314.6 MB, free: 9.004 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006358/0.000636, allocations: 16 kB / 384 MB, free: 8.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1352, allocations: 58.86 MB / 442.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002758/0.138, allocations: 1.398 MB / 444.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1394, allocations: 0.7422 MB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1395, allocations: 0 / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.1399, allocations: 35.89 kB / 445.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.1401, allocations: 43.83 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.1404, allocations: 75.84 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.1406, allocations: 83.7 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/0.1407, allocations: 12.2 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1408, allocations: 43.78 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.058e-05/0.1409, allocations: 27.86 kB / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.1409, allocations: 0 / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.141, allocations: 35.98 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.1411, allocations: 23.91 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.1411, allocations: 37.64 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.1413, allocations: 80.05 kB / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1414, allocations: 0 / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1414, allocations: 0 / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1414, allocations: 0 / 445.5 MB, free: 10.51 MB / 382.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.0005541/0.1419, allocations: 406.8 kB / 445.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.142, allocations: 12.02 kB / 445.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.1421, allocations: 34.5 kB / 446 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.1421, allocations: 7.906 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.1424, allocations: 214.7 kB / 446.2 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1424, allocations: 0 / 446.2 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.1424, allocations: 4 kB / 446.2 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1426, allocations: 53.67 kB / 446.2 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1426, allocations: 0 / 446.2 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1426, allocations: 7.953 kB / 446.2 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1426, allocations: 4 kB / 446.2 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.07e-05/0.1427, allocations: 15.98 kB / 446.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.1431, allocations: 284.8 kB / 446.5 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.1432, allocations: 58.67 kB / 446.6 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.1433, allocations: 20.86 kB / 446.6 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.1433, allocations: 4 kB / 446.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.1435, allocations: 71.28 kB / 446.7 MB, free: 9.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.765e-06/0.1435, allocations: 0 / 446.7 MB, free: 9.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005244/0.144, allocations: 185.4 kB / 446.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.1441, allocations: 51.41 kB / 446.9 MB, free: 8.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.1443, allocations: 190.1 kB / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.1443, allocations: 33.7 kB / 447.1 MB, free: 8.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.1444, allocations: 100.1 kB / 447.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.1444, allocations: 19.72 kB / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.1444, allocations: 0 / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1445, allocations: 326.8 kB / 447.6 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.024e-05/0.1446, allocations: 15.98 kB / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-05/0.1447, allocations: 37.7 kB / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.567e-05/0.1447, allocations: 24 kB / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1447, allocations: 0 / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001756/0.1449, allocations: 105.5 kB / 447.8 MB, free: 8.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1449, allocations: 8 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1449, allocations: 128 / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.145, allocations: 0 / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/0.1451, allocations: 16 kB / 447.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1451, allocations: 4 kB / 447.8 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.018e-05/0.1451, allocations: 8.016 kB / 447.8 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1451, allocations: 8 kB / 447.8 MB, free: 7.988 MB / 382.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.0001082/0.1453, allocations: 126 kB / 447.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.1453, allocations: 15.77 kB / 447.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.1453, allocations: 24.64 kB / 448 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1453, allocations: 0 / 448 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1454, allocations: 0 / 448 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1454, allocations: 0 / 448 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.1458, allocations: 399.3 kB / 448.3 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1458, allocations: 0 / 448.3 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.1459, allocations: 11.98 kB / 448.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1459, allocations: 0 / 448.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.1459, allocations: 0 / 448.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1459, allocations: 4 kB / 448.4 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1459, allocations: 0 / 448.4 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.1461, allocations: 212.2 kB / 448.6 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.1462, allocations: 92.84 kB / 448.7 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1462, allocations: 8 kB / 448.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.1463, allocations: 4 kB / 448.7 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.1463, allocations: 3.984 kB / 448.7 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1464, allocations: 4 kB / 448.7 MB, free: 7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.1465, allocations: 144.1 kB / 448.8 MB, free: 6.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1465, allocations: 0 / 448.8 MB, free: 6.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1467, allocations: 31.98 kB / 448.9 MB, free: 6.828 MB / 382.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.001473/0.1482, allocations: 1.085 MB / 449.9 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1484, allocations: 55.97 kB / 450 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1484, allocations: 0 / 450 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.959e-05/0.1485, allocations: 31.92 kB / 450 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1489, allocations: 27.92 kB / 450.1 MB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.1502, allocations: 0.708 MB / 450.8 MB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.1505, allocations: 0.7004 MB / 451.5 MB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.638e-05/0.1506, allocations: 16.88 kB / 451.5 MB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.1507, allocations: 35.42 kB / 451.5 MB, free: 4.102 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1507, allocations: 0 / 451.5 MB, free: 4.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.1653, allocations: 2.931 MB / 454.4 MB, free: 1.172 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.1655, allocations: 221.3 kB / 454.7 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/1.896, allocations: 0 / 454.7 MB, free: 0.9297 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat