Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.001246/0.001246, allocations: 95.34 kB / 15.68 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.001343/0.001343, allocations: 177.9 kB / 16.57 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.853/1.853, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.472/0.472, allocations: 43.54 MB / 314.5 MB, free: 9.047 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.0005418/0.0005419, allocations: 16 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1474, allocations: 58.85 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002483/0.1499, allocations: 1.588 MB / 444.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1513, allocations: 0.7655 MB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.929e-05/0.1514, allocations: 7.938 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1517, allocations: 35.83 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.1519, allocations: 43.83 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.1522, allocations: 83.81 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.1524, allocations: 87.77 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.1525, allocations: 33.45 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.229e-05/0.1526, allocations: 51.77 kB / 445.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.018e-05/0.1527, allocations: 31.8 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1527, allocations: 4 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.271e-05/0.1528, allocations: 31.92 kB / 445.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.1529, allocations: 27.84 kB / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.194e-05/0.1529, allocations: 41.64 kB / 445.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1531, allocations: 104 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.1531, allocations: 0 / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1531, allocations: 0 / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1531, allocations: 4 kB / 445.8 MB, free: 10.24 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006224/0.1537, allocations: 464.4 kB / 446.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1538, allocations: 8.031 kB / 446.2 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.1538, allocations: 46.48 kB / 446.3 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.1539, allocations: 15.81 kB / 446.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.1542, allocations: 215.5 kB / 446.5 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1542, allocations: 8 kB / 446.5 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1542, allocations: 8 kB / 446.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.1545, allocations: 104.2 kB / 446.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1545, allocations: 0 / 446.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1545, allocations: 11.89 kB / 446.6 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1545, allocations: 3.938 kB / 446.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.1547, allocations: 59.95 kB / 446.7 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.1553, allocations: 0.5009 MB / 447.2 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.1556, allocations: 90.66 kB / 447.3 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.1556, allocations: 4 kB / 447.3 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.1559, allocations: 79.31 kB / 447.4 MB, free: 8.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1559, allocations: 8 kB / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004071/0.1563, allocations: 145.4 kB / 447.5 MB, free: 8.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.1564, allocations: 51.41 kB / 447.6 MB, free: 8.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.1566, allocations: 187.5 kB / 447.8 MB, free: 8.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1566, allocations: 29.7 kB / 447.8 MB, free: 8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.305e-05/0.1567, allocations: 120 kB / 447.9 MB, free: 7.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.1567, allocations: 31.75 kB / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.1567, allocations: 0 / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1569, allocations: 326.8 kB / 448.3 MB, free: 7.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.158e-05/0.157, allocations: 31.98 kB / 448.3 MB, free: 7.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.1571, allocations: 68.2 kB / 448.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.405e-05/0.1572, allocations: 35.98 kB / 448.4 MB, free: 7.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.1572, allocations: 3.953 kB / 448.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002693/0.1575, allocations: 145.8 kB / 448.5 MB, free: 7.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1575, allocations: 4.094 kB / 448.5 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1575, allocations: 7.938 kB / 448.5 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.1575, allocations: 0 / 448.5 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1576, allocations: 31.92 kB / 448.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.1577, allocations: 0 / 448.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/0.1577, allocations: 11.94 kB / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1578, allocations: 11.94 kB / 448.6 MB, free: 7.152 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001171/0.1579, allocations: 129.9 kB / 448.7 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.1579, allocations: 19.77 kB / 448.7 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.808e-05/0.158, allocations: 17.41 kB / 448.8 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.158, allocations: 0 / 448.8 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.158, allocations: 4 kB / 448.8 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.158, allocations: 3.984 kB / 448.8 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.1582, allocations: 205.6 kB / 449 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1582, allocations: 3.938 kB / 449 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.4e-05/0.1583, allocations: 11.95 kB / 449 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1583, allocations: 8 kB / 449 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1583, allocations: 0 / 449 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1583, allocations: 0 / 449 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1583, allocations: 0 / 449 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.1587, allocations: 192.8 kB / 449.2 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.1587, allocations: 96.89 kB / 449.3 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.1588, allocations: 11.94 kB / 449.3 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.336e-05/0.1588, allocations: 4 kB / 449.3 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.1589, allocations: 7.984 kB / 449.3 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.1589, allocations: 8 kB / 449.3 MB, free: 6.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.159, allocations: 137.2 kB / 449.4 MB, free: 6.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1591, allocations: 0 / 449.4 MB, free: 6.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1593, allocations: 24 kB / 449.5 MB, free: 6.191 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001664/0.161, allocations: 1.045 MB / 450.5 MB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.1612, allocations: 83.84 kB / 450.6 MB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1613, allocations: 0 / 450.6 MB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.1614, allocations: 39.92 kB / 450.6 MB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1617, allocations: 32.11 kB / 450.7 MB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.1636, allocations: 1.448 MB / 452.1 MB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.164, allocations: 0.7123 MB / 452.8 MB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.354e-05/0.1641, allocations: 17.42 kB / 452.8 MB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.1642, allocations: 43.41 kB / 452.9 MB, free: 2.691 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1642, allocations: 0 / 452.9 MB, free: 2.691 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2309/0.3951, allocations: 3.241 MB / 456.1 MB, free: 45.4 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/0.3954, allocations: 215.2 kB / 456.3 MB, free: 45.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.126, allocations: 2.297 kB / 456.3 MB, free: 45.16 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat does not exist to compare? outputFormat=mat