Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.0008493/0.0008493, allocations: 96.23 kB / 15.7 MB, free: 468 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.0008321/0.0008322, allocations: 169.7 kB / 16.58 MB, free: 6.844 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.364/1.364, 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.3586/0.3586, allocations: 43.55 MB / 314.6 MB, free: 8.719 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.0005132/0.0005132, allocations: 16 kB / 384 MB, free: 7.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1332, allocations: 58.86 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002171/0.1355, allocations: 1.476 MB / 444.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.1376, allocations: 1.371 MB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.548e-05/0.1377, allocations: 3.938 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.138, allocations: 51.81 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.1383, allocations: 75.67 kB / 445.9 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.1386, allocations: 127.8 kB / 446 MB, free: 9.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.1388, allocations: 151.5 kB / 446.1 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.556e-05/0.1389, allocations: 21.52 kB / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.139, allocations: 67.64 kB / 446.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.1392, allocations: 67.69 kB / 446.3 MB, free: 9.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1393, allocations: 4 kB / 446.3 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1394, allocations: 59.91 kB / 446.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.1394, allocations: 23.91 kB / 446.4 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.1395, allocations: 45.64 kB / 446.4 MB, free: 9.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.1397, allocations: 127.9 kB / 446.5 MB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1397, allocations: 4 kB / 446.5 MB, free: 9.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1397, allocations: 0 / 446.5 MB, free: 9.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1397, allocations: 0 / 446.5 MB, free: 9.246 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006925/0.1404, allocations: 458.4 kB / 447 MB, free: 8.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1405, allocations: 12.03 kB / 447 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.1405, allocations: 34.56 kB / 447 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.1406, allocations: 11.91 kB / 447 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.1409, allocations: 234.7 kB / 447.3 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1409, allocations: 4 kB / 447.3 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.1409, allocations: 7.984 kB / 447.3 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.1412, allocations: 97.03 kB / 447.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1412, allocations: 0 / 447.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1412, allocations: 7.953 kB / 447.4 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1412, allocations: 4 kB / 447.4 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.808e-05/0.1413, allocations: 31.91 kB / 447.4 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.1416, allocations: 206.6 kB / 447.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.1418, allocations: 105.2 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.1419, allocations: 45.62 kB / 447.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.1419, allocations: 0 / 447.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.1422, allocations: 117 kB / 447.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.625e-06/0.1422, allocations: 3.984 kB / 447.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003878/0.1426, allocations: 165.3 kB / 448.1 MB, free: 7.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.1427, allocations: 132.5 kB / 448.2 MB, free: 7.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.1429, allocations: 211.8 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1429, allocations: 33.7 kB / 448.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.143, allocations: 112.1 kB / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.143, allocations: 27.59 kB / 448.6 MB, free: 6.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.143, allocations: 4 kB / 448.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1432, allocations: 330.8 kB / 448.9 MB, free: 6.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.593e-05/0.1433, allocations: 27.98 kB / 448.9 MB, free: 6.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1434, allocations: 69.08 kB / 449 MB, free: 6.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.149e-05/0.1435, allocations: 31.98 kB / 449 MB, free: 6.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1435, allocations: 4 kB / 449 MB, free: 6.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002284/0.1437, allocations: 133.4 kB / 449.1 MB, free: 6.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1437, allocations: 8 kB / 449.2 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1438, allocations: 0 / 449.2 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1438, allocations: 4.094 kB / 449.2 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1439, allocations: 27.94 kB / 449.2 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1439, allocations: 0 / 449.2 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.277e-05/0.144, allocations: 23.83 kB / 449.2 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.144, allocations: 4 kB / 449.2 MB, free: 6.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001098/0.1441, allocations: 129.8 kB / 449.3 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.1442, allocations: 19.8 kB / 449.4 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.1442, allocations: 17 kB / 449.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1442, allocations: 4.625 kB / 449.4 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1442, allocations: 3.953 kB / 449.4 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1442, allocations: 4 kB / 449.4 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.1444, allocations: 221.5 kB / 449.6 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1444, allocations: 4 kB / 449.6 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.1445, allocations: 4 kB / 449.6 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.1445, allocations: 4 kB / 449.6 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1445, allocations: 4 kB / 449.6 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.1445, allocations: 3.984 kB / 449.6 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1445, allocations: 4 kB / 449.6 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.1448, allocations: 169.7 kB / 449.8 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.1449, allocations: 96.91 kB / 449.9 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.1449, allocations: 4 kB / 449.9 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.484e-05/0.145, allocations: 11.98 kB / 449.9 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.145, allocations: 4 kB / 449.9 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.1451, allocations: 7.984 kB / 449.9 MB, free: 5.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.1452, allocations: 165.4 kB / 450.1 MB, free: 5.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.024e-06/0.1452, allocations: 0 / 450.1 MB, free: 5.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1455, allocations: 43.92 kB / 450.1 MB, free: 5.266 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001372/0.1469, allocations: 1.056 MB / 451.2 MB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.1471, allocations: 83.89 kB / 451.3 MB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1471, allocations: 0 / 451.3 MB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.1472, allocations: 39.92 kB / 451.3 MB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1476, allocations: 48.08 kB / 451.3 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.1489, allocations: 0.8778 MB / 452.2 MB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.1492, allocations: 0.7167 MB / 452.9 MB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.86e-05/0.1493, allocations: 30.03 kB / 453 MB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.162e-05/0.1494, allocations: 55.41 kB / 453 MB, free: 2.297 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1494, allocations: 3.938 kB / 453 MB, free: 2.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2231/0.3724, allocations: 4.118 MB / 457.1 MB, free: 45.76 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001434/0.3726, allocations: 225.8 kB / 457.4 MB, free: 45.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.069, allocations: 3.375 kB / 457.4 MB, free: 45.52 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat