Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",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.0009406/0.0009406, allocations: 88.19 kB / 15.7 MB, free: 460 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.001325/0.001325, allocations: 174 kB / 16.58 MB, free: 6.84 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.529/1.529, allocations: 205.4 MB / 222.7 MB, free: 5.645 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.3184/0.3184, allocations: 43.55 MB / 314.6 MB, free: 9.004 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.0005026/0.0005026, allocations: 12 kB / 384 MB, free: 8.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1019, allocations: 58.85 MB / 442.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.001975/0.104, allocations: 1.402 MB / 444.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1057, allocations: 1.309 MB / 445.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.1058, allocations: 3.938 kB / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.1061, allocations: 27.92 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.1062, allocations: 43.81 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1065, allocations: 83.84 kB / 445.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.1066, allocations: 87.69 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.231e-05/0.1067, allocations: 12.2 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.786e-05/0.1068, allocations: 35.8 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.107, allocations: 35.83 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.107, allocations: 4 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1071, allocations: 47.98 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.1072, allocations: 19.91 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.1072, allocations: 37.64 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.1074, allocations: 100 kB / 446.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1074, allocations: 0 / 446.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1074, allocations: 0 / 446.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1074, allocations: 0 / 446.1 MB, free: 9.902 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004948/0.1079, allocations: 398.9 kB / 446.5 MB, free: 9.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1079, allocations: 8.031 kB / 446.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.108, allocations: 30.56 kB / 446.5 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.108, allocations: 7.906 kB / 446.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1082, allocations: 202.9 kB / 446.8 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1083, allocations: 7.938 kB / 446.8 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1083, allocations: 4 kB / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1084, allocations: 71.33 kB / 446.8 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1085, allocations: 0 / 446.8 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1085, allocations: 0 / 446.8 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1085, allocations: 4 kB / 446.8 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.509e-05/0.1086, allocations: 23.92 kB / 446.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.1089, allocations: 280.9 kB / 447.1 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.109, allocations: 58.64 kB / 447.2 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.1091, allocations: 20.84 kB / 447.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.1091, allocations: 0 / 447.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.1093, allocations: 71.39 kB / 447.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1093, allocations: 0 / 447.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004582/0.1097, allocations: 181.1 kB / 447.5 MB, free: 8.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1098, allocations: 81.11 kB / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1099, allocations: 146.5 kB / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.11, allocations: 33.64 kB / 447.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.11, allocations: 92.14 kB / 447.8 MB, free: 7.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.11, allocations: 27.64 kB / 447.8 MB, free: 7.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.1101, allocations: 8 kB / 447.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1102, allocations: 326.8 kB / 448.2 MB, free: 7.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.704e-05/0.1102, allocations: 16 kB / 448.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-05/0.1103, allocations: 42.56 kB / 448.2 MB, free: 7.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.342e-05/0.1103, allocations: 27.98 kB / 448.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1104, allocations: 0 / 448.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001546/0.1105, allocations: 97.56 kB / 448.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1105, allocations: 4 kB / 448.3 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.1106, allocations: 0 / 448.3 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1106, allocations: 4 kB / 448.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.1107, allocations: 19.98 kB / 448.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1107, allocations: 160 / 448.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.1107, allocations: 4 kB / 448.4 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1107, allocations: 3.984 kB / 448.4 MB, free: 7.395 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 (10): * Single equations (assignments): 10 * 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.599e-05/0.1108, allocations: 137.7 kB / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.1109, allocations: 7.906 kB / 448.5 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.1109, allocations: 12.72 kB / 448.5 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1109, allocations: 3.938 kB / 448.5 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1109, allocations: 4 kB / 448.5 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1109, allocations: 0 / 448.5 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.1113, allocations: 395.2 kB / 448.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1113, allocations: 4 kB / 448.9 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.1114, allocations: 8.031 kB / 448.9 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1114, allocations: 4.188 kB / 448.9 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1114, allocations: 0 / 448.9 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1114, allocations: 3.938 kB / 448.9 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1114, allocations: 4 kB / 448.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.1116, allocations: 212.1 kB / 449.2 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.1117, allocations: 93.02 kB / 449.2 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.1117, allocations: 4 kB / 449.2 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.1118, allocations: 3.984 kB / 449.3 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.1118, allocations: 8 kB / 449.3 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1119, allocations: 4 kB / 449.3 MB, free: 6.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.024e-05/0.1119, allocations: 122.6 kB / 449.4 MB, free: 6.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.112, allocations: 0 / 449.4 MB, free: 6.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1122, allocations: 31.98 kB / 449.4 MB, free: 6.25 MB / 382.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001324/0.1136, allocations: 1.125 MB / 450.5 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1137, allocations: 63.95 kB / 450.6 MB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1137, allocations: 0 / 450.6 MB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.164e-05/0.1138, allocations: 27.92 kB / 450.6 MB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.1141, allocations: 36.05 kB / 450.7 MB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009149/0.115, allocations: 0.6312 MB / 451.3 MB, free: 4.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.1153, allocations: 0.6965 MB / 452 MB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.294e-05/0.1153, allocations: 12.88 kB / 452 MB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.1154, allocations: 35.42 kB / 452 MB, free: 3.559 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1154, allocations: 0 / 452 MB, free: 3.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.1284, allocations: 3.054 MB / 455.1 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.1286, allocations: 225.9 kB / 455.3 MB, free: 264 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.788, allocations: 4 kB / 455.3 MB, free: 260 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat does not exist to compare? outputFormat=mat