Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",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.001213/0.001213, allocations: 97.22 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.001726/0.001726, allocations: 174.8 kB / 16.57 MB, free: 6.395 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.665/1.665, allocations: 205.4 MB / 222.7 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.3828/0.3828, allocations: 43.55 MB / 314.5 MB, free: 8.73 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.0004835/0.0004836, allocations: 16 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1313, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002098/0.1335, allocations: 1.391 MB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1348, allocations: 0.7345 MB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.1349, allocations: 4 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.1351, allocations: 31.78 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.1353, allocations: 43.88 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.1357, allocations: 75.72 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.1358, allocations: 63.91 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.1359, allocations: 8.219 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/0.136, allocations: 43.78 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.413e-05/0.1361, allocations: 23.86 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1361, allocations: 4 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.936e-05/0.1362, allocations: 27.92 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.1362, allocations: 23.91 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.1363, allocations: 33.7 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1364, allocations: 88.05 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1364, allocations: 0 / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1364, allocations: 0 / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1364, allocations: 0 / 445.4 MB, free: 10.36 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.0005188/0.137, allocations: 418.8 kB / 445.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.137, allocations: 8.031 kB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.1371, allocations: 30.56 kB / 445.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.1371, allocations: 11.84 kB / 445.9 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.1374, allocations: 207.5 kB / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1374, allocations: 4 kB / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1374, allocations: 0 / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1375, allocations: 57.61 kB / 446.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1376, allocations: 4 kB / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1376, allocations: 3.953 kB / 446.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1376, allocations: 4 kB / 446.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.948e-05/0.1377, allocations: 15.98 kB / 446.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.1381, allocations: 281 kB / 446.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1382, allocations: 62.59 kB / 446.5 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1383, allocations: 8 kB / 446.5 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.1385, allocations: 71.47 kB / 446.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1385, allocations: 0 / 446.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005099/0.139, allocations: 181.1 kB / 446.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.1391, allocations: 51.41 kB / 446.8 MB, free: 8.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.1393, allocations: 199.3 kB / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1393, allocations: 29.7 kB / 447 MB, free: 8.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.1394, allocations: 104.1 kB / 447.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.1394, allocations: 27.64 kB / 447.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.1394, allocations: 0 / 447.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.1396, allocations: 322.8 kB / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.1397, allocations: 20 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-05/0.1398, allocations: 37.64 kB / 447.5 MB, free: 8.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.775e-05/0.1398, allocations: 24 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1398, allocations: 0 / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001789/0.14, allocations: 117.4 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.14, allocations: 4 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.14, allocations: 0 / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1401, allocations: 0 / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.949e-05/0.1402, allocations: 23.92 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1402, allocations: 0 / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.1402, allocations: 0 / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1403, allocations: 8.031 kB / 447.7 MB, free: 7.84 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.0001008/0.1404, allocations: 133.8 kB / 447.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.1404, allocations: 11.86 kB / 447.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.1404, allocations: 13.59 kB / 447.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1404, allocations: 4 kB / 447.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1405, allocations: 3.938 kB / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1405, allocations: 3.984 kB / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.1409, allocations: 399.2 kB / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1409, allocations: 0 / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.141, allocations: 11.94 kB / 448.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.141, allocations: 0 / 448.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.141, allocations: 0 / 448.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.141, allocations: 4 kB / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.141, allocations: 0 / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.1413, allocations: 222 kB / 448.5 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.1413, allocations: 92.92 kB / 448.6 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.1414, allocations: 0 / 448.6 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.1414, allocations: 8.359 kB / 448.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.1415, allocations: 8 kB / 448.6 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1415, allocations: 0 / 448.6 MB, free: 6.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1416, allocations: 152.9 kB / 448.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1417, allocations: 0 / 448.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1419, allocations: 31.98 kB / 448.8 MB, free: 6.652 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.001562/0.1435, allocations: 1.175 MB / 450 MB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.1437, allocations: 55.91 kB / 450 MB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1437, allocations: 0 / 450 MB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.171e-05/0.1438, allocations: 35.92 kB / 450.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.144, allocations: 32.03 kB / 450.1 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.1453, allocations: 0.8702 MB / 451 MB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1456, allocations: 0.7082 MB / 451.7 MB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.702e-05/0.1457, allocations: 12.88 kB / 451.7 MB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/0.1457, allocations: 43.42 kB / 451.7 MB, free: 3.648 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1457, allocations: 0 / 451.7 MB, free: 3.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.159, allocations: 2.97 MB / 454.7 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.1593, allocations: 216.5 kB / 454.9 MB, free: 448 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.055, allocations: 0 / 454.9 MB, free: 448 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat