Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009649/0.009649, allocations: 166.5 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.567/1.567, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001892/0.001891, allocations: 111 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4233/0.4233, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004848, allocations: 20 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.09725, allocations: 48.7 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3849/0.4822, allocations: 75.86 MB / 487.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4825, allocations: 69.8 kB / 487.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01603/0.4985, allocations: 4.334 MB / 492 MB, free: 8.176 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4986, allocations: 0 / 492 MB, free: 8.176 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.4986, allocations: 0 / 492 MB, free: 8.176 MB / 330.7 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.0004629/0.4991, allocations: 459 kB / 492.4 MB, free: 7.684 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4991, allocations: 8.031 kB / 492.4 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.4992, allocations: 38.48 kB / 492.4 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.4992, allocations: 11.91 kB / 492.5 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.4995, allocations: 209.1 kB / 492.7 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.4995, allocations: 4 kB / 492.7 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.4995, allocations: 4 kB / 492.7 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.4997, allocations: 49.42 kB / 492.7 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4997, allocations: 7.984 kB / 492.7 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.4997, allocations: 0 / 492.7 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4997, allocations: 0 / 492.7 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.601e-05/0.4998, allocations: 16.95 kB / 492.7 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.5002, allocations: 303.6 kB / 493 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.5004, allocations: 54.06 kB / 493.1 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.5004, allocations: 3.984 kB / 493.1 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.5006, allocations: 55.17 kB / 493.2 MB, free: 6.867 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.853e-06/0.5006, allocations: 4 kB / 493.2 MB, free: 6.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004449/0.501, allocations: 124.5 kB / 493.3 MB, free: 6.754 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.5011, allocations: 59.39 kB / 493.3 MB, free: 6.684 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.5014, allocations: 228.8 kB / 493.6 MB, free: 6.484 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.5014, allocations: 33.64 kB / 493.6 MB, free: 6.445 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.5015, allocations: 111.1 kB / 493.7 MB, free: 6.352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.5015, allocations: 7.906 kB / 493.7 MB, free: 6.344 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.5015, allocations: 0 / 493.7 MB, free: 6.344 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.224e-05/0.5016, allocations: 326.4 kB / 494 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.094e-05/0.5017, allocations: 23.73 kB / 494.1 MB, free: 6.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.299e-05/0.5018, allocations: 27.61 kB / 494.1 MB, free: 5.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.745e-05/0.5019, allocations: 53.27 kB / 494.1 MB, free: 5.941 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5019, allocations: 4 kB / 494.1 MB, free: 5.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002347/0.5021, allocations: 130.3 kB / 494.3 MB, free: 5.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.5022, allocations: 37.64 kB / 494.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5022, allocations: 0 / 494.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.5022, allocations: 0 / 494.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.5023, allocations: 11.98 kB / 494.3 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.5023, allocations: 0 / 494.3 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.562e-05/0.5024, allocations: 7.812 kB / 494.3 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.5024, allocations: 7.953 kB / 494.3 MB, free: 5.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.812e-05/0.5025, allocations: 134.7 kB / 494.5 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.5025, allocations: 15.56 kB / 494.5 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.5028, allocations: 94.11 kB / 494.6 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5028, allocations: 0 / 494.6 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5028, allocations: 0 / 494.6 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5028, allocations: 3.984 kB / 494.6 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.5032, allocations: 374.2 kB / 494.9 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5032, allocations: 0 / 494.9 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.365e-05/0.5033, allocations: 15.61 kB / 494.9 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5033, allocations: 4 kB / 495 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.5033, allocations: 4 kB / 495 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5034, allocations: 0 / 495 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5034, allocations: 3.938 kB / 495 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.5036, allocations: 178.7 kB / 495.1 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.5036, allocations: 96.94 kB / 495.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.5037, allocations: 7.875 kB / 495.2 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.216e-05/0.5038, allocations: 4 kB / 495.2 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.5038, allocations: 7.984 kB / 495.2 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.5038, allocations: 4.281 kB / 495.3 MB, free: 4.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001963/0.504, allocations: 191.6 kB / 495.4 MB, free: 4.641 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5041, allocations: 0 / 495.4 MB, free: 4.641 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003503/0.5044, allocations: 47.8 kB / 495.5 MB, free: 4.598 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001162/0.5056, allocations: 0.9651 MB / 496.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.5058, allocations: 110.6 kB / 496.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5058, allocations: 0 / 496.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.978e-05/0.5059, allocations: 23.86 kB / 496.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.5062, allocations: 19.98 kB / 496.6 MB, free: 3.566 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008467/0.5071, allocations: 0.5236 MB / 497.1 MB, free: 3.027 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.5073, allocations: 0.7195 MB / 497.8 MB, free: 2.285 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.983e-05/0.5073, allocations: 12.14 kB / 497.9 MB, free: 2.273 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-05/0.5074, allocations: 36.36 kB / 497.9 MB, free: 2.254 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.5075, allocations: 0 / 497.9 MB, free: 2.254 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.5352, allocations: 3.071 MB / 0.4892 GB, free: 15.23 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003401/0.5356, allocations: 215.9 kB / 0.4894 GB, free: 14.98 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/2.992, allocations: 0 / 0.4894 GB, free: 14.98 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat