Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",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.001177/0.001178, allocations: 96.28 kB / 15.69 MB, free: 480 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.001399/0.001399, allocations: 178.4 kB / 16.57 MB, free: 6.387 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.742/1.742, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.379/0.379, allocations: 43.54 MB / 314.5 MB, free: 9.023 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.0004828/0.000483, allocations: 18.97 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.001864/0.1361, allocations: 1.392 MB / 444.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1371, allocations: 0.7266 MB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.1372, allocations: 0 / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.1375, allocations: 31.83 kB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.1376, allocations: 43.89 kB / 445 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.1379, allocations: 83.77 kB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.138, allocations: 59.86 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.276e-05/0.1381, allocations: 12.2 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.43e-05/0.1382, allocations: 35.84 kB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.1382, allocations: 27.86 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1383, allocations: 0 / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.279e-05/0.1383, allocations: 35.92 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.1384, allocations: 27.84 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.1384, allocations: 37.64 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.1386, allocations: 76.11 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.1386, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1386, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1386, allocations: 4 kB / 445.4 MB, free: 10.59 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.00046/0.1391, allocations: 402.8 kB / 445.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1391, allocations: 8.031 kB / 445.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.1392, allocations: 42.55 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.1392, allocations: 11.91 kB / 445.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.1394, allocations: 202.8 kB / 446.1 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1394, allocations: 4 kB / 446.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.1394, allocations: 3.984 kB / 446.1 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1396, allocations: 53.67 kB / 446.1 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1396, allocations: 0 / 446.1 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1396, allocations: 3.953 kB / 446.2 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1396, allocations: 4 kB / 446.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.487e-05/0.1397, allocations: 19.98 kB / 446.2 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.14, allocations: 292.8 kB / 446.5 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1402, allocations: 46.69 kB / 446.5 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1402, allocations: 4 kB / 446.5 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.1404, allocations: 79.45 kB / 446.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1404, allocations: 0 / 446.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004827/0.1409, allocations: 173.2 kB / 446.8 MB, free: 9.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.1409, allocations: 51.41 kB / 446.8 MB, free: 9.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1411, allocations: 186.2 kB / 447 MB, free: 8.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1411, allocations: 29.7 kB / 447 MB, free: 8.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.1412, allocations: 104.1 kB / 447.1 MB, free: 8.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1412, allocations: 19.72 kB / 447.1 MB, free: 8.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.1412, allocations: 4 kB / 447.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1413, allocations: 326.8 kB / 447.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.304e-05/0.1414, allocations: 15.98 kB / 447.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.877e-05/0.1414, allocations: 37.7 kB / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.578e-05/0.1415, allocations: 24 kB / 447.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1415, allocations: 0 / 447.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001656/0.1417, allocations: 113.5 kB / 447.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1417, allocations: 4.188 kB / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1417, allocations: 4 kB / 447.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1417, allocations: 3.938 kB / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.1418, allocations: 15.98 kB / 447.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1418, allocations: 0 / 447.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.1419, allocations: 4 kB / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1419, allocations: 8 kB / 447.7 MB, free: 8.098 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 9.562e-05/0.142, allocations: 129.8 kB / 447.8 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.142, allocations: 23.75 kB / 447.8 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.1421, allocations: 16.72 kB / 447.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1421, allocations: 0 / 447.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1421, allocations: 0 / 447.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1421, allocations: 0 / 447.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.1425, allocations: 391.3 kB / 448.2 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1425, allocations: 4 kB / 448.2 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.1425, allocations: 7.984 kB / 448.2 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1426, allocations: 8.031 kB / 448.3 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1426, allocations: 0 / 448.3 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1426, allocations: 0 / 448.3 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1426, allocations: 4 kB / 448.3 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.1428, allocations: 213.9 kB / 448.5 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.1428, allocations: 96.91 kB / 448.6 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.1429, allocations: 8 kB / 448.6 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.837e-05/0.1429, allocations: 0 / 448.6 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.143, allocations: 11.98 kB / 448.6 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.143, allocations: 4.375 kB / 448.6 MB, free: 7.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1431, allocations: 144 kB / 448.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1431, allocations: 0 / 448.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1434, allocations: 20 kB / 448.7 MB, free: 6.93 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.001349/0.1447, allocations: 1.179 MB / 449.9 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.1449, allocations: 59.97 kB / 450 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1449, allocations: 0 / 450 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.145, allocations: 36.06 kB / 450 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.1453, allocations: 19.98 kB / 450 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1464, allocations: 0.8433 MB / 450.9 MB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.1466, allocations: 0.7043 MB / 451.6 MB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.884e-05/0.1467, allocations: 12.89 kB / 451.6 MB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.1468, allocations: 35.42 kB / 451.6 MB, free: 3.969 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1468, allocations: 0 / 451.6 MB, free: 3.969 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.1602, allocations: 2.915 MB / 454.6 MB, free: 1.055 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.1604, allocations: 212.4 kB / 454.8 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/1.962, allocations: 0 / 454.8 MB, free: 0.8164 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat