Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test42",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.01486/0.01487, allocations: 165.6 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.681/1.681, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.002009/0.002009, allocations: 107 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.5033/0.5033, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007244/0.0007245, allocations: 12 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1112, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3937/0.505, allocations: 75.85 MB / 487.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.5053, allocations: 74.22 kB / 487.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01623/0.5215, allocations: 4.089 MB / 491.7 MB, free: 8.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5216, allocations: 0 / 491.7 MB, free: 8.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.5216, allocations: 0 / 491.7 MB, free: 8.41 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.000476/0.5221, allocations: 447.1 kB / 492.1 MB, free: 7.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.5221, allocations: 8.031 kB / 492.2 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.5222, allocations: 30.56 kB / 492.2 MB, free: 7.883 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.5222, allocations: 7.906 kB / 492.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.5225, allocations: 202.5 kB / 492.4 MB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.5225, allocations: 3.812 kB / 492.4 MB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.5225, allocations: 4 kB / 492.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.5227, allocations: 45.48 kB / 492.4 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.5227, allocations: 4 kB / 492.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5227, allocations: 0 / 492.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5227, allocations: 4 kB / 492.5 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.807e-05/0.5228, allocations: 20.81 kB / 492.5 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.5232, allocations: 295.7 kB / 492.8 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.5235, allocations: 44.56 kB / 492.8 MB, free: 7.199 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.5235, allocations: 7.188 kB / 492.8 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.5236, allocations: 51.5 kB / 492.9 MB, free: 7.137 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.5236, allocations: 0 / 492.9 MB, free: 7.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004717/0.5241, allocations: 122.3 kB / 493 MB, free: 7.027 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.5242, allocations: 54.78 kB / 493 MB, free: 6.965 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.5244, allocations: 171.4 kB / 493.2 MB, free: 6.809 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5244, allocations: 36.27 kB / 493.2 MB, free: 6.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.5245, allocations: 105.4 kB / 493.3 MB, free: 6.672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.5245, allocations: 21.98 kB / 493.4 MB, free: 6.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.5246, allocations: 0 / 493.4 MB, free: 6.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.224e-05/0.5246, allocations: 321.2 kB / 493.7 MB, free: 6.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.5247, allocations: 26.67 kB / 493.7 MB, free: 6.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.183e-05/0.5248, allocations: 24.36 kB / 493.7 MB, free: 6.305 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.5249, allocations: 48.58 kB / 493.8 MB, free: 6.262 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5249, allocations: 0 / 493.8 MB, free: 6.262 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002484/0.5251, allocations: 135.4 kB / 493.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.5252, allocations: 29.7 kB / 493.9 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.5252, allocations: 4 kB / 493.9 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5252, allocations: 64 / 493.9 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.885e-05/0.5253, allocations: 15.98 kB / 494 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.5253, allocations: 4 kB / 494 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.855e-05/0.5254, allocations: 3.625 kB / 494 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.5255, allocations: 7.953 kB / 494 MB, free: 6.07 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.73e-05/0.5256, allocations: 128.3 kB / 494.1 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.5256, allocations: 11.81 kB / 494.1 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.5258, allocations: 95.55 kB / 494.2 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.5259, allocations: 0 / 494.2 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.5259, allocations: 0.8438 kB / 494.2 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5259, allocations: 0 / 494.2 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.5263, allocations: 355.6 kB / 494.5 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5263, allocations: 0 / 494.5 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.5264, allocations: 8 kB / 494.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.5264, allocations: 0 / 494.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.5264, allocations: 0 / 494.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.5264, allocations: 11.94 kB / 494.6 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5264, allocations: 0 / 494.6 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.5266, allocations: 178 kB / 494.7 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.5267, allocations: 92.77 kB / 494.8 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.5267, allocations: 0 / 494.8 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.5268, allocations: 7.984 kB / 494.8 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.5269, allocations: 4 kB / 494.8 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.5269, allocations: 192 / 494.8 MB, free: 5.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001379/0.527, allocations: 149.9 kB / 495 MB, free: 5.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5271, allocations: 4 kB / 495 MB, free: 5.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003652/0.5274, allocations: 31.69 kB / 495 MB, free: 5 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.00124/0.5287, allocations: 0.9787 MB / 496 MB, free: 4.098 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.529, allocations: 108.1 kB / 496.1 MB, free: 3.996 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.529, allocations: 0 / 496.1 MB, free: 3.996 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.517e-05/0.5291, allocations: 23.31 kB / 496.1 MB, free: 3.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.5294, allocations: 15.11 kB / 496.1 MB, free: 3.965 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007893/0.5302, allocations: 462.5 kB / 496.6 MB, free: 3.488 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.5304, allocations: 0.7115 MB / 497.3 MB, free: 2.754 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.632e-05/0.5304, allocations: 12 kB / 497.3 MB, free: 2.742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.5305, allocations: 32.67 kB / 497.4 MB, free: 2.723 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5305, allocations: 0 / 497.4 MB, free: 2.723 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.5519, allocations: 2.703 MB / 0.4883 GB, free: 60 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003259/0.5523, allocations: 214.1 kB / 0.4885 GB, free: 15.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/3.091, allocations: 0 / 0.4885 GB, free: 15.82 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat