Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test61",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.0157/0.01571, allocations: 165.6 kB / 15.11 MB, free: 5.984 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.73/1.73, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001987/0.001986, allocations: 107.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.4655/0.4655, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007717/0.0007718, allocations: 12 kB / 363 MB, free: 5.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1077, allocations: 48.71 MB / 411.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.398/0.5057, allocations: 75.69 MB / 487.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.506, allocations: 66.59 kB / 487.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01522/0.5213, allocations: 4.142 MB / 491.6 MB, free: 8.066 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5213, allocations: 0 / 491.6 MB, free: 8.066 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.5213, allocations: 4 kB / 491.6 MB, free: 8.062 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005212/0.5219, allocations: 449 kB / 492 MB, free: 7.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.5219, allocations: 8.031 kB / 492.1 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.522, allocations: 38.5 kB / 492.1 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.522, allocations: 15.81 kB / 492.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.5223, allocations: 208.8 kB / 492.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.5224, allocations: 0 / 492.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.5224, allocations: 4 kB / 492.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.5225, allocations: 41.42 kB / 492.4 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.5225, allocations: 0 / 492.4 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.5225, allocations: 0 / 492.4 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5226, allocations: 0 / 492.4 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.084e-05/0.5226, allocations: 13.03 kB / 492.4 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.5229, allocations: 194.8 kB / 492.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.784e-05/0.5229, allocations: 38 kB / 492.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.523, allocations: 0.5625 kB / 492.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.5231, allocations: 50.91 kB / 492.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.124e-06/0.5231, allocations: 0 / 492.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000263/0.5234, allocations: 80.3 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.5235, allocations: 55.41 kB / 492.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.5238, allocations: 216.5 kB / 493 MB, free: 6.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.5238, allocations: 32.14 kB / 493 MB, free: 6.527 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.5239, allocations: 109.2 kB / 493.1 MB, free: 6.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.5239, allocations: 11.89 kB / 493.1 MB, free: 6.422 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.5239, allocations: 3.312 kB / 493.1 MB, free: 6.422 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.535e-05/0.524, allocations: 322.5 kB / 493.5 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.5241, allocations: 19.69 kB / 493.5 MB, free: 6.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.376e-05/0.5241, allocations: 18.92 kB / 493.5 MB, free: 6.074 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.918e-05/0.5242, allocations: 52.59 kB / 493.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5242, allocations: 0 / 493.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002238/0.5245, allocations: 124.9 kB / 493.7 MB, free: 5.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.5245, allocations: 33.64 kB / 493.7 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.5245, allocations: 0.6875 kB / 493.7 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5245, allocations: 4 kB / 493.7 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.5246, allocations: 4 kB / 493.7 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5247, allocations: 3.984 kB / 493.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.5247, allocations: 11.94 kB / 493.7 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.5248, allocations: 128 / 493.7 MB, free: 5.848 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 (5): * Single equations (assignments): 4 * 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.0001161/0.5249, allocations: 137.9 kB / 493.9 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.5249, allocations: 7.906 kB / 493.9 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.5251, allocations: 92.81 kB / 494 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5252, allocations: 0 / 494 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5252, allocations: 0 / 494 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5252, allocations: 0 / 494 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.5254, allocations: 197.7 kB / 494.1 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.5254, allocations: 11.94 kB / 494.2 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.5254, allocations: 4 kB / 494.2 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.5254, allocations: 0 / 494.2 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.5255, allocations: 1.5 kB / 494.2 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.5255, allocations: 4 kB / 494.2 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5255, allocations: 0 / 494.2 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.5256, allocations: 87.89 kB / 494.3 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.5257, allocations: 100.3 kB / 494.4 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.5258, allocations: 4 kB / 494.4 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.725e-05/0.5258, allocations: 4 kB / 494.4 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.5259, allocations: 7.922 kB / 494.4 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.5259, allocations: 4 kB / 494.4 MB, free: 5.133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002061/0.5261, allocations: 184.1 kB / 494.6 MB, free: 4.984 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5261, allocations: 0 / 494.6 MB, free: 4.984 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.5264, allocations: 39.56 kB / 494.6 MB, free: 4.949 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 (4): * Single equations (assignments): 3 * 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.00114/0.5276, allocations: 0.8493 MB / 495.4 MB, free: 4.164 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.5279, allocations: 108.6 kB / 495.5 MB, free: 4.062 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5279, allocations: 0 / 495.5 MB, free: 4.062 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.905e-05/0.5279, allocations: 8 kB / 495.6 MB, free: 4.055 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.5282, allocations: 16.05 kB / 495.6 MB, free: 4.039 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008342/0.5291, allocations: 0.4945 MB / 496.1 MB, free: 3.535 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.5293, allocations: 0.7156 MB / 496.8 MB, free: 2.797 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.708e-05/0.5294, allocations: 20.17 kB / 496.8 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.194e-05/0.5295, allocations: 33.23 kB / 496.8 MB, free: 2.762 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5295, allocations: 0 / 496.8 MB, free: 2.762 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.553, allocations: 2.812 MB / 499.6 MB, free: 15.99 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003454/0.5534, allocations: 210 kB / 499.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/2.884, allocations: 0 / 499.8 MB, free: 15.75 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat