Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001744/0.001744, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009145/0.0009144, allocations: 97.95 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3928/0.3928, allocations: 43.46 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.256e-05/4.29e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1404, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4535/0.594, allocations: 87.61 MB / 0.5585 GB, free: 16.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.5942, allocations: 75.33 kB / 0.5585 GB, free: 16.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01507/0.6093, allocations: 5.872 MB / 0.5643 GB, free: 12.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6094, allocations: 0 / 0.5643 GB, free: 12.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.6094, allocations: 4 kB / 0.5643 GB, free: 12.99 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004093/0.6098, allocations: 418.5 kB / 0.5647 GB, free: 12.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.6099, allocations: 8.031 kB / 0.5647 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.6099, allocations: 37.69 kB / 0.5647 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.6099, allocations: 11.34 kB / 0.5647 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.6102, allocations: 245.7 kB / 0.565 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.6102, allocations: 4 kB / 0.565 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.6103, allocations: 0 / 0.565 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.6104, allocations: 59.61 kB / 0.565 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.6104, allocations: 0 / 0.565 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.6104, allocations: 9.359 kB / 0.565 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.6104, allocations: 0 / 0.565 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.059e-05/0.6105, allocations: 26.8 kB / 0.5651 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.6109, allocations: 330.7 kB / 0.5654 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.611, allocations: 70.31 kB / 0.5655 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.349e-05/0.6111, allocations: 28.22 kB / 0.5655 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.6111, allocations: 0 / 0.5655 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.6112, allocations: 66.02 kB / 0.5655 GB, free: 11.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.6113, allocations: 4 kB / 0.5655 GB, free: 11.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004503/0.6117, allocations: 189.9 kB / 0.5657 GB, free: 11.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.6118, allocations: 55.34 kB / 0.5658 GB, free: 11.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.612, allocations: 227.2 kB / 0.566 GB, free: 11.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.612, allocations: 25.7 kB / 0.566 GB, free: 11.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.612, allocations: 119.9 kB / 0.5661 GB, free: 11.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.6121, allocations: 22.95 kB / 0.5662 GB, free: 11.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.6121, allocations: 5.469 kB / 0.5662 GB, free: 11.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.862e-05/0.6121, allocations: 330.1 kB / 0.5665 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.6122, allocations: 22.75 kB / 0.5665 GB, free: 10.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.971e-05/0.6122, allocations: 44.14 kB / 0.5665 GB, free: 10.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.684e-05/0.6123, allocations: 25.42 kB / 0.5666 GB, free: 10.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.6123, allocations: 3.938 kB / 0.5666 GB, free: 10.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001487/0.6124, allocations: 118.2 kB / 0.5667 GB, free: 10.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.6125, allocations: 8 kB / 0.5667 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6125, allocations: 4 kB / 0.5667 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.6125, allocations: 4.031 kB / 0.5667 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.604e-05/0.6126, allocations: 23.89 kB / 0.5667 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.6126, allocations: 5.297 kB / 0.5667 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.6127, allocations: 4 kB / 0.5667 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.6127, allocations: 7.75 kB / 0.5667 GB, free: 10.5 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 5.272e-05/0.6127, allocations: 101.8 kB / 0.5668 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.6128, allocations: 15.81 kB / 0.5668 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.613, allocations: 153.8 kB / 0.567 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.613, allocations: 4 kB / 0.567 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.613, allocations: 3.953 kB / 0.567 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.613, allocations: 0 / 0.567 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.6134, allocations: 453.5 kB / 0.5674 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6134, allocations: 3.938 kB / 0.5674 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/0.6135, allocations: 15.94 kB / 0.5675 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.6135, allocations: 0 / 0.5675 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.6135, allocations: 7.938 kB / 0.5675 GB, free: 9.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6135, allocations: 8.031 kB / 0.5675 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6135, allocations: 0 / 0.5675 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.6137, allocations: 230.1 kB / 0.5677 GB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.6138, allocations: 104.7 kB / 0.5678 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.6138, allocations: 7.438 kB / 0.5678 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.6139, allocations: 0 / 0.5678 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.6139, allocations: 16.27 kB / 0.5678 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.614, allocations: 3.938 kB / 0.5678 GB, free: 9.402 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.6141, allocations: 190.5 kB / 0.568 GB, free: 9.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6141, allocations: 3.938 kB / 0.568 GB, free: 9.246 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000249/0.6144, allocations: 39.05 kB / 0.568 GB, free: 9.211 MB / 394.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001167/0.6155, allocations: 1.167 MB / 0.5692 GB, free: 8.109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.6157, allocations: 72.56 kB / 0.5692 GB, free: 8.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6157, allocations: 0 / 0.5692 GB, free: 8.059 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.142e-05/0.6158, allocations: 42.11 kB / 0.5693 GB, free: 8.027 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.616, allocations: 24.38 kB / 0.5693 GB, free: 8.008 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.6166, allocations: 285.3 kB / 0.5696 GB, free: 7.719 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.6167, allocations: 0.7307 MB / 0.5703 GB, free: 6.965 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.588e-05/0.6168, allocations: 24.86 kB / 0.5703 GB, free: 6.938 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.6169, allocations: 43.92 kB / 0.5704 GB, free: 6.918 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6169, allocations: 0 / 0.5704 GB, free: 6.918 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.6309, allocations: 3.547 MB / 0.5738 GB, free: 3.41 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/0.631, allocations: 182.6 kB / 0.574 GB, free: 3.188 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.367, allocations: 3.938 kB / 0.574 GB, free: 3.184 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat