Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test47",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.01288/0.01288, allocations: 165.7 kB / 15.11 MB, free: 5.934 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.728/1.728, allocations: 170.8 MB / 186.6 MB, free: 1.148 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.001891/0.001891, allocations: 107.4 kB / 226.2 MB, free: 10.12 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.46/0.46, allocations: 38.04 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004834, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1062, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3933/0.4996, allocations: 75.87 MB / 487.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.4999, allocations: 70.22 kB / 487.6 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01652/0.5164, allocations: 4.348 MB / 492 MB, free: 8.145 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5165, allocations: 0 / 492 MB, free: 8.145 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.5165, allocations: 4 kB / 492 MB, free: 8.141 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.0005027/0.517, allocations: 465.3 kB / 492.4 MB, free: 7.645 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.5171, allocations: 8.031 kB / 492.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.5171, allocations: 30.56 kB / 492.5 MB, free: 7.598 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.56e-05/0.5172, allocations: 11.91 kB / 492.5 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.5174, allocations: 211.8 kB / 492.7 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.5175, allocations: 0.625 kB / 492.7 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.5175, allocations: 6.5 kB / 492.7 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.5176, allocations: 44.88 kB / 492.7 MB, free: 7.297 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.5177, allocations: 0 / 492.7 MB, free: 7.297 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.5177, allocations: 3.984 kB / 492.7 MB, free: 7.293 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.5177, allocations: 0 / 492.7 MB, free: 7.293 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.497e-05/0.5178, allocations: 16.03 kB / 492.8 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.5182, allocations: 317.4 kB / 493.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.5184, allocations: 45.36 kB / 493.1 MB, free: 6.898 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.5185, allocations: 8 kB / 493.1 MB, free: 6.891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.5186, allocations: 62.36 kB / 493.2 MB, free: 6.824 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.5186, allocations: 0 / 493.2 MB, free: 6.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000462/0.5191, allocations: 120.6 kB / 493.3 MB, free: 6.715 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.5191, allocations: 55.34 kB / 493.4 MB, free: 6.648 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.5194, allocations: 229.9 kB / 493.6 MB, free: 6.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.5194, allocations: 31.05 kB / 493.6 MB, free: 6.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.5195, allocations: 124.2 kB / 493.7 MB, free: 6.305 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.5195, allocations: 3.906 kB / 493.7 MB, free: 6.301 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/0.5196, allocations: 7.688 kB / 493.7 MB, free: 6.297 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.449e-05/0.5196, allocations: 322.1 kB / 494.1 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.5197, allocations: 26.3 kB / 494.1 MB, free: 5.961 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.5198, allocations: 15.88 kB / 494.1 MB, free: 5.949 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.668e-05/0.5199, allocations: 59.97 kB / 494.2 MB, free: 5.898 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.5199, allocations: 0 / 494.2 MB, free: 5.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000246/0.5202, allocations: 138.6 kB / 494.3 MB, free: 5.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.5202, allocations: 37.7 kB / 494.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5202, allocations: 0 / 494.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5202, allocations: 0 / 494.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.57e-05/0.5203, allocations: 8 kB / 494.3 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.5203, allocations: 0 / 494.3 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.12e-05/0.5204, allocations: 11.61 kB / 494.3 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.5205, allocations: 7.953 kB / 494.4 MB, free: 5.703 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 0.0001042/0.5206, allocations: 130 kB / 494.5 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.5206, allocations: 15.81 kB / 494.5 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.5209, allocations: 99.05 kB / 494.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5209, allocations: 0 / 494.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5209, allocations: 0 / 494.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5209, allocations: 0 / 494.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.5213, allocations: 379.6 kB / 495 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5214, allocations: 0 / 495 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.467e-05/0.5214, allocations: 8 kB / 495 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5214, allocations: 0 / 495 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.5215, allocations: 3.984 kB / 495 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5215, allocations: 4 kB / 495 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5215, allocations: 0 / 495 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.5217, allocations: 183.6 kB / 495.2 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.5218, allocations: 97 kB / 495.3 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.5218, allocations: 3.5 kB / 495.3 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-05/0.5219, allocations: 4 kB / 495.3 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.522, allocations: 4 kB / 495.3 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.522, allocations: 7.984 kB / 495.3 MB, free: 4.754 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002087/0.5222, allocations: 196.1 kB / 495.5 MB, free: 4.594 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5222, allocations: 3.938 kB / 495.5 MB, free: 4.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003722/0.5226, allocations: 39.62 kB / 495.5 MB, free: 4.555 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.001276/0.5239, allocations: 0.9711 MB / 496.5 MB, free: 3.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.5242, allocations: 115.6 kB / 496.6 MB, free: 3.551 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5242, allocations: 0 / 496.6 MB, free: 3.551 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.6e-05/0.5243, allocations: 23.42 kB / 496.6 MB, free: 3.535 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.5246, allocations: 11.75 kB / 496.6 MB, free: 3.523 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009066/0.5255, allocations: 0.5259 MB / 497.2 MB, free: 2.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.5258, allocations: 0.7154 MB / 497.9 MB, free: 2.242 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.252e-05/0.5258, allocations: 20.12 kB / 497.9 MB, free: 2.223 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/0.5259, allocations: 35.8 kB / 497.9 MB, free: 2.203 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5259, allocations: 0 / 497.9 MB, free: 2.203 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.5528, allocations: 3.063 MB / 0.4892 GB, free: 15.18 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002972/0.5531, allocations: 218 kB / 0.4895 GB, free: 14.94 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.82, allocations: 4 kB / 0.4895 GB, free: 14.93 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat