Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test21.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.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test21",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.01/0.01, allocations: 175.5 kB / 15.12 MB, free: 6 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 1.99/1.99, allocations: 194.5 MB / 210.3 MB, free: 11.39 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.002143/0.002142, allocations: 112.7 kB / 255.6 MB, free: 14.53 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.428/0.428, allocations: 40 MB / 340.8 MB, free: 15 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006382/0.0006382, allocations: 12 kB / 406.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3631, allocations: 54.86 MB / 461.1 MB, free: 24.61 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.5058, allocations: 81.24 MB / 0.5297 GB, free: 9.922 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.5062, allocations: 71.97 kB / 0.5297 GB, free: 9.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0144/0.5206, allocations: 3.525 MB / 0.5332 GB, free: 6.324 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5206, allocations: 0 / 0.5332 GB, free: 6.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.5207, allocations: 0 / 0.5332 GB, free: 6.324 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005397/0.5212, allocations: 399 kB / 0.5336 GB, free: 5.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.5213, allocations: 12.03 kB / 0.5336 GB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.5213, allocations: 38.5 kB / 0.5336 GB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.5214, allocations: 15.84 kB / 0.5336 GB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.5216, allocations: 179 kB / 0.5338 GB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.5217, allocations: 4 kB / 0.5338 GB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.5217, allocations: 0 / 0.5338 GB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.5219, allocations: 67.39 kB / 0.5339 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.5219, allocations: 0 / 0.5339 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.522, allocations: 0 / 0.5339 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.522, allocations: 3.953 kB / 0.5339 GB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.5221, allocations: 35.92 kB / 0.5339 GB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.5227, allocations: 284.8 kB / 0.5342 GB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.5229, allocations: 46.56 kB / 0.5342 GB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.523, allocations: 0 / 0.5342 GB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.523, allocations: 38.5 kB / 0.5343 GB, free: 5.043 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.523, allocations: 0 / 0.5343 GB, free: 5.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008541/0.5239, allocations: 169.4 kB / 0.5344 GB, free: 4.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.524, allocations: 81.11 kB / 0.5345 GB, free: 4.773 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.5241, allocations: 109 kB / 0.5346 GB, free: 4.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.5242, allocations: 25.7 kB / 0.5346 GB, free: 4.629 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.5243, allocations: 92.12 kB / 0.5347 GB, free: 4.535 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.5243, allocations: 15.75 kB / 0.5347 GB, free: 4.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-06/0.5243, allocations: 8 kB / 0.5347 GB, free: 4.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5245, allocations: 310.8 kB / 0.535 GB, free: 4.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.5246, allocations: 31.91 kB / 0.5351 GB, free: 4.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.5248, allocations: 41.7 kB / 0.5351 GB, free: 4.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.525, allocations: 61.72 kB / 0.5352 GB, free: 4.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.525, allocations: 0 / 0.5352 GB, free: 4.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003904/0.5254, allocations: 123.3 kB / 0.5353 GB, free: 3.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/0.5254, allocations: 37.64 kB / 0.5353 GB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5255, allocations: 3.953 kB / 0.5353 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5255, allocations: 4.281 kB / 0.5353 GB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.5256, allocations: 15.98 kB / 0.5353 GB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5256, allocations: 0 / 0.5353 GB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.5257, allocations: 15.92 kB / 0.5353 GB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.5258, allocations: 4.25 kB / 0.5353 GB, free: 3.836 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0001142/0.5259, allocations: 113.8 kB / 0.5355 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.5259, allocations: 11.89 kB / 0.5355 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004051/0.5263, allocations: 109.6 kB / 0.5356 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.5264, allocations: 7.938 kB / 0.5356 GB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5264, allocations: 4 kB / 0.5356 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5264, allocations: 0 / 0.5356 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007429/0.5271, allocations: 354.6 kB / 0.5359 GB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5272, allocations: 0 / 0.5359 GB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.5273, allocations: 15.98 kB / 0.5359 GB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.5273, allocations: 3.953 kB / 0.5359 GB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.5273, allocations: 4 kB / 0.5359 GB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5274, allocations: 0 / 0.5359 GB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.5274, allocations: 4 kB / 0.536 GB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.5278, allocations: 187.4 kB / 0.5361 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.5278, allocations: 85.11 kB / 0.5362 GB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.5279, allocations: 7.938 kB / 0.5362 GB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.528, allocations: 12 kB / 0.5362 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.5281, allocations: 0 / 0.5362 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.5281, allocations: 7.984 kB / 0.5362 GB, free: 2.812 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.5282, allocations: 95.27 kB / 0.5363 GB, free: 2.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.145e-06/0.5282, allocations: 0 / 0.5363 GB, free: 2.719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.5286, allocations: 23.94 kB / 0.5364 GB, free: 2.695 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001667/0.5303, allocations: 1.003 MB / 0.5373 GB, free: 1.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004332/0.5307, allocations: 119.4 kB / 0.5374 GB, free: 1.602 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5307, allocations: 3.938 kB / 0.5374 GB, free: 1.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.5309, allocations: 35.92 kB / 0.5375 GB, free: 1.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.5312, allocations: 11.94 kB / 0.5375 GB, free: 1.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008376/0.532, allocations: 394.6 kB / 0.5379 GB, free: 1.113 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.5324, allocations: 0.6926 MB / 0.5385 GB, free: 404 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.962e-05/0.5325, allocations: 12.17 kB / 0.5386 GB, free: 392 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.5326, allocations: 19.42 kB / 0.5386 GB, free: 372 kB / 378.7 MB Notification: Performance of SimCode: time 3.035e-06/0.5326, allocations: 4 kB / 0.5386 GB, free: 368 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.5625, allocations: 2.087 MB / 0.5406 GB, free: 14.31 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003656/0.5629, allocations: 216.2 kB / 0.5408 GB, free: 14.06 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/2.91, allocations: 0 / 0.5408 GB, free: 14.06 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test21_res.mat does not exist to compare? outputFormat=mat