Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",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.001106/0.001106, allocations: 96.75 kB / 15.69 MB, free: 484 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.001469/0.001469, allocations: 173.9 kB / 16.56 MB, free: 6.848 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.79/1.79, 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.4421/0.4421, allocations: 43.54 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.0005817/0.0005819, allocations: 27.98 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1396, allocations: 58.84 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.001924/0.1416, allocations: 1.349 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1427, allocations: 0.715 MB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.1428, allocations: 4 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.1431, allocations: 63.72 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.1433, allocations: 55.86 kB / 445 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.1435, allocations: 67.8 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1436, allocations: 63.91 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.1437, allocations: 3.984 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.922e-05/0.1438, allocations: 39.84 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.611e-05/0.1439, allocations: 35.84 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.1439, allocations: 7.984 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.871e-05/0.144, allocations: 19.98 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.149e-05/0.144, allocations: 23.86 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.1441, allocations: 37.64 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.1442, allocations: 64.12 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.1442, allocations: 3.938 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1442, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.1443, allocations: 0 / 445.4 MB, free: 10.39 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.0004789/0.1447, allocations: 402.8 kB / 445.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1448, allocations: 12.03 kB / 445.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.1448, allocations: 38.55 kB / 445.8 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.1449, allocations: 7.906 kB / 445.8 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1451, allocations: 202.8 kB / 446 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1451, allocations: 4 kB / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.1451, allocations: 0 / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1453, allocations: 53.67 kB / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1453, allocations: 3.938 kB / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1453, allocations: 7.953 kB / 446.1 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1453, allocations: 0 / 446.1 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.592e-05/0.1454, allocations: 15.98 kB / 446.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.1456, allocations: 173.7 kB / 446.3 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1458, allocations: 58.55 kB / 446.4 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.1458, allocations: 0 / 446.4 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.146, allocations: 71.48 kB / 446.4 MB, free: 9.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 3.967e-06/0.146, allocations: 3.984 kB / 446.4 MB, free: 9.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.00026/0.1463, allocations: 93.52 kB / 446.5 MB, free: 9.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1463, allocations: 55.36 kB / 446.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1465, allocations: 182.1 kB / 446.8 MB, free: 8.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1465, allocations: 33.7 kB / 446.8 MB, free: 8.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.1466, allocations: 100.1 kB / 446.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.1466, allocations: 7.906 kB / 446.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.1466, allocations: 0 / 446.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1467, allocations: 326.8 kB / 447.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.016e-05/0.1468, allocations: 12 kB / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-05/0.1468, allocations: 29.69 kB / 447.3 MB, free: 8.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.801e-05/0.1469, allocations: 20 kB / 447.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1469, allocations: 0 / 447.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000145/0.1471, allocations: 85.52 kB / 447.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1471, allocations: 4 kB / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1471, allocations: 0 / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1471, allocations: 4 kB / 447.4 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.702e-05/0.1472, allocations: 8 kB / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1472, allocations: 3.953 kB / 447.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.1473, allocations: 11.89 kB / 447.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1473, allocations: 0 / 447.4 MB, free: 8.172 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.603e-05/0.1474, allocations: 133.7 kB / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.1474, allocations: 11.94 kB / 447.5 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.1474, allocations: 20.39 kB / 447.5 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1474, allocations: 0 / 447.5 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1475, allocations: 0 / 447.5 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1475, allocations: 3.953 kB / 447.6 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.1476, allocations: 181.6 kB / 447.7 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1476, allocations: 4.25 kB / 447.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.1476, allocations: 8 kB / 447.7 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1476, allocations: 0 / 447.7 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.1477, allocations: 3.984 kB / 447.7 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1477, allocations: 4 kB / 447.7 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1477, allocations: 7.984 kB / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.1479, allocations: 112.9 kB / 447.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.1479, allocations: 84.92 kB / 447.9 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.1479, allocations: 4 kB / 448 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.74e-05/0.148, allocations: 4 kB / 448 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.148, allocations: 7.984 kB / 448 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.148, allocations: 4 kB / 448 MB, free: 7.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1482, allocations: 144 kB / 448.1 MB, free: 7.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1482, allocations: 0 / 448.1 MB, free: 7.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000208/0.1484, allocations: 20 kB / 448.1 MB, free: 7.336 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.001208/0.1496, allocations: 0.9424 MB / 449.1 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1498, allocations: 39.92 kB / 449.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.1498, allocations: 0 / 449.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.63e-05/0.1498, allocations: 23.92 kB / 449.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.1501, allocations: 23.98 kB / 449.2 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1511, allocations: 0.7703 MB / 449.9 MB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.1514, allocations: 0.7043 MB / 450.6 MB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.935e-05/0.1514, allocations: 20.34 kB / 450.7 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.1515, allocations: 31.42 kB / 450.7 MB, free: 4.711 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1515, allocations: 0 / 450.7 MB, free: 4.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.1648, allocations: 2.634 MB / 453.3 MB, free: 2.082 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.1651, allocations: 212.5 kB / 453.5 MB, free: 1.844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/1.778, allocations: 0 / 453.5 MB, free: 1.844 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat