Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test3",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.009714/0.009714, allocations: 166.3 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.563/1.563, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001946/0.001946, allocations: 114.4 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.4449/0.4449, allocations: 38.05 MB / 303.7 MB, free: 42.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004776, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4224/0.5232, allocations: 75.82 MB / 487.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.5235, allocations: 71.7 kB / 487.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01476/0.5383, allocations: 3.831 MB / 491.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5383, allocations: 0 / 491.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.5384, allocations: 0 / 491.4 MB, free: 8.574 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.000446/0.5388, allocations: 423.3 kB / 491.8 MB, free: 8.117 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5389, allocations: 12.03 kB / 491.8 MB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.5389, allocations: 30.56 kB / 491.9 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.539, allocations: 5.5 kB / 491.9 MB, free: 8.062 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.5392, allocations: 208.6 kB / 492.1 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.5392, allocations: 3.938 kB / 492.1 MB, free: 7.828 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.5392, allocations: 4 kB / 492.1 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.5394, allocations: 45.61 kB / 492.1 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5394, allocations: 3.984 kB / 492.1 MB, free: 7.773 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.5394, allocations: 0 / 492.1 MB, free: 7.773 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5394, allocations: 0 / 492.1 MB, free: 7.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.444e-05/0.5395, allocations: 16.77 kB / 492.2 MB, free: 7.762 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.5398, allocations: 291.9 kB / 492.4 MB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.5401, allocations: 46.19 kB / 492.5 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.5401, allocations: 4 kB / 492.5 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.5402, allocations: 55.23 kB / 492.5 MB, free: 7.332 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.5402, allocations: 0 / 492.5 MB, free: 7.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004425/0.5407, allocations: 116.7 kB / 492.7 MB, free: 7.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.5407, allocations: 55.41 kB / 492.7 MB, free: 7.164 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.5409, allocations: 144.7 kB / 492.9 MB, free: 7.023 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.5409, allocations: 26.55 kB / 492.9 MB, free: 6.992 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.541, allocations: 99.91 kB / 493 MB, free: 6.898 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.541, allocations: 11.59 kB / 493 MB, free: 6.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.541, allocations: 0 / 493 MB, free: 6.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.542e-05/0.5411, allocations: 322.8 kB / 493.3 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.639e-05/0.5411, allocations: 19.69 kB / 493.3 MB, free: 6.559 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.5412, allocations: 30.08 kB / 493.4 MB, free: 6.539 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.475e-05/0.5413, allocations: 53.27 kB / 493.4 MB, free: 6.492 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5413, allocations: 3.984 kB / 493.4 MB, free: 6.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000232/0.5416, allocations: 122.6 kB / 493.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.5416, allocations: 38.47 kB / 493.6 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.5416, allocations: 0.875 kB / 493.6 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5416, allocations: 0 / 493.6 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.5417, allocations: 11.94 kB / 493.6 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5417, allocations: 0 / 493.6 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.019e-05/0.5418, allocations: 7.875 kB / 493.6 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.5418, allocations: 11.95 kB / 493.6 MB, free: 6.305 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 8.271e-05/0.5419, allocations: 120.7 kB / 493.7 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.542, allocations: 7.906 kB / 493.7 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.5422, allocations: 89.3 kB / 493.8 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5422, allocations: 4 kB / 493.8 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.5422, allocations: 0 / 493.8 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.5422, allocations: 0 / 493.8 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.5426, allocations: 358.5 kB / 494.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5426, allocations: 0 / 494.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.5427, allocations: 8 kB / 494.2 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5427, allocations: 0 / 494.2 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.5427, allocations: 3.938 kB / 494.2 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5427, allocations: 0 / 494.2 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5427, allocations: 0 / 494.2 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.5429, allocations: 178.8 kB / 494.3 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.543, allocations: 89.02 kB / 494.4 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.543, allocations: 3.812 kB / 494.4 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.5431, allocations: 7.984 kB / 494.4 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.5432, allocations: 0 / 494.4 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.5432, allocations: 8.219 kB / 494.5 MB, free: 5.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.624e-05/0.5433, allocations: 121.1 kB / 494.6 MB, free: 5.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5433, allocations: 0 / 494.6 MB, free: 5.305 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003469/0.5436, allocations: 35.81 kB / 494.6 MB, free: 5.273 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.001187/0.5448, allocations: 0.9554 MB / 495.6 MB, free: 4.391 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.5451, allocations: 113.1 kB / 495.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5451, allocations: 0 / 495.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.391e-05/0.5452, allocations: 31.3 kB / 495.7 MB, free: 4.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.5455, allocations: 18.41 kB / 495.7 MB, free: 4.246 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006866/0.5462, allocations: 416.6 kB / 496.1 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.5464, allocations: 0.6965 MB / 496.8 MB, free: 3.086 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.983e-05/0.5465, allocations: 16.12 kB / 496.8 MB, free: 3.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.5465, allocations: 22.11 kB / 496.9 MB, free: 3.055 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5466, allocations: 0 / 496.9 MB, free: 3.055 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.5678, allocations: 2.478 MB / 499.3 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.5681, allocations: 216.8 kB / 499.6 MB, free: 384 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/2.921, allocations: 0 / 499.6 MB, free: 384 kB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat