Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",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.0008554/0.0008555, allocations: 94.05 kB / 15.7 MB, free: 448 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.0009034/0.0009034, allocations: 169.9 kB / 16.57 MB, free: 6.41 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.492/1.492, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.3188/0.3188, allocations: 43.54 MB / 314.6 MB, free: 8.746 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.0004603/0.0004603, allocations: 20 kB / 384 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.09813, allocations: 58.85 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002237/0.1004, allocations: 1.928 MB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.102, allocations: 1.109 MB / 445.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1022, allocations: 7.938 kB / 445.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004389/0.1026, allocations: 259.3 kB / 446.2 MB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.103, allocations: 231.1 kB / 446.4 MB, free: 9.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006451/0.1036, allocations: 307.4 kB / 446.7 MB, free: 9.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004489/0.1041, allocations: 446.5 kB / 447.1 MB, free: 8.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1043, allocations: 53.06 kB / 447.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.1045, allocations: 203.1 kB / 447.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.1048, allocations: 227.1 kB / 447.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.1048, allocations: 8 kB / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1049, allocations: 51.88 kB / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1051, allocations: 95.58 kB / 447.8 MB, free: 8.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.217e-05/0.1052, allocations: 97.42 kB / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.1054, allocations: 275.7 kB / 448.1 MB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1055, allocations: 0 / 448.1 MB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1055, allocations: 0 / 448.1 MB, free: 7.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1055, allocations: 0 / 448.1 MB, free: 7.648 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009655/0.1064, allocations: 0.7047 MB / 448.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1065, allocations: 8.031 kB / 448.8 MB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.131e-05/0.1066, allocations: 42.55 kB / 448.9 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.331e-05/0.1066, allocations: 51.34 kB / 448.9 MB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.1071, allocations: 387 kB / 449.3 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.1072, allocations: 8 kB / 449.3 MB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.1072, allocations: 12 kB / 449.3 MB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.1076, allocations: 214.5 kB / 449.5 MB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.1076, allocations: 0 / 449.5 MB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.1076, allocations: 11.95 kB / 449.6 MB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1076, allocations: 4 kB / 449.6 MB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.1079, allocations: 99.86 kB / 449.7 MB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007446/0.1086, allocations: 0.8488 MB / 450.5 MB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.1091, allocations: 301.2 kB / 450.8 MB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.1093, allocations: 96.25 kB / 450.9 MB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.1094, allocations: 4 kB / 450.9 MB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.1097, allocations: 219.5 kB / 451.1 MB, free: 4.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.1097, allocations: 0 / 451.1 MB, free: 4.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001714/0.1115, allocations: 0.9731 MB / 452.1 MB, free: 3.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.1115, allocations: 166.2 kB / 452.2 MB, free: 3.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005997/0.1121, allocations: 0.6159 MB / 452.9 MB, free: 2.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.1122, allocations: 33.7 kB / 452.9 MB, free: 2.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.1123, allocations: 225 kB / 453.1 MB, free: 2.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.05e-05/0.1124, allocations: 122.3 kB / 453.2 MB, free: 2.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/0.1124, allocations: 12 kB / 453.2 MB, free: 2.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1126, allocations: 370.8 kB / 453.6 MB, free: 1.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.1128, allocations: 96.83 kB / 453.7 MB, free: 1.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.113, allocations: 180.9 kB / 453.9 MB, free: 1.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.1132, allocations: 119.9 kB / 454 MB, free: 1.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1132, allocations: 0 / 454 MB, free: 1.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006118/0.1139, allocations: 389.1 kB / 454.4 MB, free: 1.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1139, allocations: 11.98 kB / 454.4 MB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1139, allocations: 0 / 454.4 MB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1139, allocations: 7.984 kB / 454.4 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.1142, allocations: 91.97 kB / 454.5 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.1142, allocations: 4 kB / 454.5 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.1144, allocations: 39.97 kB / 454.5 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.1144, allocations: 19.98 kB / 454.5 MB, free: 0.8438 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001877/0.1146, allocations: 205.3 kB / 454.7 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.1147, allocations: 59.23 kB / 454.8 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1148, allocations: 67.91 kB / 454.9 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1148, allocations: 4 kB / 454.9 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1148, allocations: 0 / 454.9 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1148, allocations: 4 kB / 454.9 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1898/0.3046, allocations: 1.259 MB / 456.1 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.3046, allocations: 8.922 kB / 456.1 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.3048, allocations: 44.03 kB / 456.2 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.3048, allocations: 2.75 kB / 456.2 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.3048, allocations: 17.72 kB / 456.2 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.3048, allocations: 9.094 kB / 456.2 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3048, allocations: 2.844 kB / 456.2 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.3055, allocations: 0.8173 MB / 457 MB, free: 45.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.981e-05/0.3056, allocations: 133.6 kB / 457.2 MB, free: 45.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.207e-05/0.3057, allocations: 19.45 kB / 457.2 MB, free: 45.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.306, allocations: 21.95 kB / 457.2 MB, free: 45.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.306, allocations: 34.53 kB / 457.2 MB, free: 45.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.3061, allocations: 24.97 kB / 457.3 MB, free: 45.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000364/0.3064, allocations: 451.2 kB / 457.7 MB, free: 44.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3065, allocations: 2.719 kB / 457.7 MB, free: 44.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005182/0.307, allocations: 79.31 kB / 457.8 MB, free: 44.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001591/0.3086, allocations: 1.724 MB / 459.5 MB, free: 43.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004897/0.3091, allocations: 288.1 kB / 459.8 MB, free: 43.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3091, allocations: 3.094 kB / 459.8 MB, free: 43.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.3093, allocations: 147.2 kB / 459.9 MB, free: 43.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009069/0.3102, allocations: 119.3 kB / 460.1 MB, free: 43.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.3135, allocations: 2.755 MB / 462.8 MB, free: 42.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.3137, allocations: 0.8508 MB / 463.7 MB, free: 42.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.314, allocations: 82.98 kB / 463.7 MB, free: 42.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.3142, allocations: 171.7 kB / 463.9 MB, free: 42.06 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3142, allocations: 3.609 kB / 463.9 MB, free: 42.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.3344, allocations: 9.635 MB / 473.5 MB, free: 41.11 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.3346, allocations: 217.5 kB / 473.8 MB, free: 40.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.22, allocations: 0 / 473.8 MB, free: 40.87 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat