Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01416/0.01416, allocations: 175.6 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.013/2.013, allocations: 194.5 MB / 210.3 MB, free: 7.617 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002008/0.002008, allocations: 116.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2676/0.2676, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006522/0.0006523, allocations: 13.45 kB / 406.3 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.103, allocations: 54.88 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.2524, allocations: 82.9 MB / 0.5313 GB, free: 184 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003711/0.2528, allocations: 75.97 kB / 0.5314 GB, free: 108 kB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3823/0.6352, allocations: 3.609 MB / 0.5349 GB, free: 83.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6352, allocations: 0 / 0.5349 GB, free: 83.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.6352, allocations: 3.688 kB / 0.5349 GB, free: 83.44 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008412/0.6361, allocations: 0.5198 MB / 0.5354 GB, free: 82.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.6362, allocations: 9.438 kB / 0.5354 GB, free: 82.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.593e-05/0.6362, allocations: 46.17 kB / 0.5355 GB, free: 82.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.436e-05/0.6363, allocations: 15.31 kB / 0.5355 GB, free: 82.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.6368, allocations: 210.4 kB / 0.5357 GB, free: 82.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.6368, allocations: 10.41 kB / 0.5357 GB, free: 82.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.6369, allocations: 6.812 kB / 0.5357 GB, free: 82.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.6373, allocations: 85.62 kB / 0.5358 GB, free: 82.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.6373, allocations: 3.984 kB / 0.5358 GB, free: 82.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.6373, allocations: 9.25 kB / 0.5358 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.6373, allocations: 5.375 kB / 0.5358 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.6377, allocations: 46.34 kB / 0.5358 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008466/0.6386, allocations: 382.4 kB / 0.5362 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/0.6392, allocations: 92.45 kB / 0.5363 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.6392, allocations: 0 / 0.5363 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.6396, allocations: 92.5 kB / 0.5364 GB, free: 82.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.254e-06/0.6396, allocations: 0 / 0.5364 GB, free: 82.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007987/0.6404, allocations: 155 kB / 0.5365 GB, free: 82.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.6404, allocations: 54.03 kB / 0.5366 GB, free: 82.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.6407, allocations: 157.5 kB / 0.5367 GB, free: 82.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.6408, allocations: 27.89 kB / 0.5368 GB, free: 82.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.6408, allocations: 110 kB / 0.5369 GB, free: 81.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.6409, allocations: 28.52 kB / 0.5369 GB, free: 81.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/0.6409, allocations: 4.906 kB / 0.5369 GB, free: 81.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.641, allocations: 322.7 kB / 0.5372 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.6413, allocations: 44.5 kB / 0.5372 GB, free: 81.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.6416, allocations: 70.56 kB / 0.5373 GB, free: 81.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.6419, allocations: 83.95 kB / 0.5374 GB, free: 81.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.642, allocations: 0.5938 kB / 0.5374 GB, free: 81.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007317/0.6427, allocations: 215.5 kB / 0.5376 GB, free: 81.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.475e-05/0.6428, allocations: 40.08 kB / 0.5376 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.6428, allocations: 5.094 kB / 0.5376 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.6428, allocations: 1.156 kB / 0.5376 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.6431, allocations: 21.55 kB / 0.5377 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.6431, allocations: 1.219 kB / 0.5377 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.6433, allocations: 21.53 kB / 0.5377 GB, free: 81.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.6433, allocations: 5.547 kB / 0.5377 GB, free: 81.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.0001483/0.6435, allocations: 128.8 kB / 0.5378 GB, free: 81.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.6435, allocations: 17.81 kB / 0.5378 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005884/0.6441, allocations: 133.2 kB / 0.538 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.6442, allocations: 5.344 kB / 0.538 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6442, allocations: 0.75 kB / 0.538 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6442, allocations: 1.281 kB / 0.538 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.6445, allocations: 216.9 kB / 0.5382 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6445, allocations: 0 / 0.5382 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.6447, allocations: 18.91 kB / 0.5382 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.6447, allocations: 1.219 kB / 0.5382 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.6448, allocations: 5.781 kB / 0.5382 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6448, allocations: 0 / 0.5382 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6448, allocations: 2.375 kB / 0.5382 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008117/0.6456, allocations: 197.8 kB / 0.5384 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.6458, allocations: 98.66 kB / 0.5385 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.6458, allocations: 2.656 kB / 0.5385 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.646, allocations: 11.25 kB / 0.5385 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.6461, allocations: 14.28 kB / 0.5385 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.6461, allocations: 3.469 kB / 0.5385 GB, free: 80.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000191/0.6463, allocations: 131.2 kB / 0.5386 GB, free: 80.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6463, allocations: 0 / 0.5386 GB, free: 80.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000573/0.6469, allocations: 44.86 kB / 0.5387 GB, free: 80.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002255/0.6492, allocations: 1.023 MB / 0.5397 GB, free: 80.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005218/0.6497, allocations: 189.5 kB / 0.5399 GB, free: 79.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6497, allocations: 0 / 0.5399 GB, free: 79.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.6499, allocations: 39.42 kB / 0.5399 GB, free: 79.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.6503, allocations: 32.36 kB / 0.5399 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.6514, allocations: 0.8289 MB / 0.5407 GB, free: 79.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.6516, allocations: 0.7128 MB / 0.5414 GB, free: 78.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.6517, allocations: 11.42 kB / 0.5414 GB, free: 78.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.6518, allocations: 37.28 kB / 0.5415 GB, free: 78.5 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6518, allocations: 0 / 0.5415 GB, free: 78.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.6804, allocations: 3.164 MB / 0.5446 GB, free: 77.62 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002578/0.6807, allocations: 211.4 kB / 0.5448 GB, free: 77.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.165, allocations: 1.031 kB / 0.5448 GB, free: 77.39 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat does not exist to compare? outputFormat=mat