Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",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.001042/0.001042, allocations: 97.53 kB / 15.69 MB, free: 488 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.001244/0.001245, allocations: 173.1 kB / 16.56 MB, free: 6.379 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.844/1.844, 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.49/0.49, allocations: 43.54 MB / 314.5 MB, free: 8.988 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.0005368/0.0005368, allocations: 18.97 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1529, allocations: 58.85 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.001707/0.1546, allocations: 1.349 MB / 444.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1557, allocations: 0.7188 MB / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.1558, allocations: 0 / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.1559, allocations: 59.8 kB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.1561, allocations: 51.86 kB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.1562, allocations: 79.78 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.1564, allocations: 63.86 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.396e-05/0.1564, allocations: 3.984 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.207e-05/0.1565, allocations: 43.83 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.1565, allocations: 31.84 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.1565, allocations: 4 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.071e-05/0.1566, allocations: 19.98 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.1566, allocations: 19.86 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.1567, allocations: 37.7 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.669e-05/0.1568, allocations: 72.11 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-06/0.1568, allocations: 0 / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1568, allocations: 0 / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1568, allocations: 0 / 445.4 MB, free: 10.64 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003608/0.1572, allocations: 398.8 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.1572, allocations: 12.03 kB / 445.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.61e-05/0.1572, allocations: 38.55 kB / 445.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.1573, allocations: 7.906 kB / 445.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.1575, allocations: 202.8 kB / 446 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.1575, allocations: 3.938 kB / 446 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.1575, allocations: 3.984 kB / 446 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.418e-05/0.1576, allocations: 49.69 kB / 446.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-06/0.1576, allocations: 3.938 kB / 446.1 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1576, allocations: 7.938 kB / 446.1 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-06/0.1576, allocations: 3.938 kB / 446.1 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.95e-05/0.1577, allocations: 11.98 kB / 446.1 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.1578, allocations: 177.7 kB / 446.3 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.158, allocations: 58.61 kB / 446.4 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.158, allocations: 3.984 kB / 446.4 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.1582, allocations: 71.42 kB / 446.4 MB, free: 9.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1582, allocations: 0 / 446.4 MB, free: 9.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002076/0.1584, allocations: 85.77 kB / 446.5 MB, free: 9.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.1584, allocations: 63.36 kB / 446.6 MB, free: 9.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1586, allocations: 182.1 kB / 446.8 MB, free: 9.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1586, allocations: 29.7 kB / 446.8 MB, free: 9.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.1587, allocations: 104.1 kB / 446.9 MB, free: 8.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.1587, allocations: 3.906 kB / 446.9 MB, free: 8.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-06/0.1587, allocations: 0 / 446.9 MB, free: 8.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1588, allocations: 326.8 kB / 447.2 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.1589, allocations: 12 kB / 447.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.629e-05/0.1589, allocations: 37.62 kB / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.235e-05/0.159, allocations: 20.06 kB / 447.3 MB, free: 8.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.159, allocations: 0 / 447.3 MB, free: 8.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001403/0.1591, allocations: 81.58 kB / 447.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.1592, allocations: 4 kB / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.1592, allocations: 0 / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.1592, allocations: 4 kB / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.42e-05/0.1592, allocations: 15.97 kB / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1592, allocations: 3.953 kB / 447.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.1593, allocations: 11.89 kB / 447.4 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.1593, allocations: 0 / 447.4 MB, free: 8.406 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 (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 9.082e-05/0.1594, allocations: 129.8 kB / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.1594, allocations: 7.906 kB / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.1595, allocations: 16.3 kB / 447.5 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1595, allocations: 0 / 447.5 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1595, allocations: 0 / 447.5 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1595, allocations: 7.953 kB / 447.6 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.1596, allocations: 181.6 kB / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1597, allocations: 3.938 kB / 447.7 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.1597, allocations: 7.984 kB / 447.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1597, allocations: 0 / 447.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.1597, allocations: 3.938 kB / 447.7 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1597, allocations: 0 / 447.7 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1597, allocations: 7.938 kB / 447.8 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.1599, allocations: 113 kB / 447.9 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.16, allocations: 84.92 kB / 447.9 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.16, allocations: 4 kB / 447.9 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.913e-05/0.16, allocations: 7.984 kB / 448 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.1601, allocations: 4.125 kB / 448 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1601, allocations: 4 kB / 448 MB, free: 7.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1602, allocations: 144 kB / 448.1 MB, free: 7.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1602, allocations: 0 / 448.1 MB, free: 7.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.1604, allocations: 20 kB / 448.1 MB, free: 7.582 MB / 382.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.001162/0.1616, allocations: 0.9466 MB / 449.1 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.1617, allocations: 35.98 kB / 449.1 MB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1617, allocations: 0 / 449.1 MB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.1618, allocations: 27.98 kB / 449.1 MB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.162, allocations: 32.17 kB / 449.2 MB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009815/0.163, allocations: 0.7703 MB / 449.9 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1633, allocations: 0.7004 MB / 450.6 MB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.332e-05/0.1633, allocations: 16.41 kB / 450.7 MB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.1634, allocations: 31.42 kB / 450.7 MB, free: 4.949 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1634, allocations: 4 kB / 450.7 MB, free: 4.945 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01237/0.1757, allocations: 2.63 MB / 453.3 MB, free: 2.32 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.176, allocations: 212.4 kB / 453.5 MB, free: 2.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/1.926, allocations: 0 / 453.5 MB, free: 2.082 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat does not exist to compare? outputFormat=mat