Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test1.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.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test1",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.009964/0.009968, allocations: 175.5 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 1.894/1.894, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.002029/0.002029, allocations: 108.7 kB / 255.6 MB, free: 11.21 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.252/0.252, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004852, allocations: 14.94 kB / 406.3 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09777/0.0983, allocations: 54.87 MB / 461.1 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.2457, allocations: 81.05 MB / 0.5295 GB, free: 2.148 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.246, allocations: 67.97 kB / 0.5295 GB, free: 2.082 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3494/0.5955, allocations: 5.424 MB / 0.5348 GB, free: 82.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5955, allocations: 0 / 0.5348 GB, free: 82.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.027e-05/0.5956, allocations: 5.719 kB / 0.5348 GB, free: 82.05 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008851/0.5965, allocations: 0.6452 MB / 0.5355 GB, free: 81.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.5965, allocations: 9.906 kB / 0.5355 GB, free: 81.49 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.5966, allocations: 36.34 kB / 0.5355 GB, free: 81.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.5967, allocations: 41.16 kB / 0.5356 GB, free: 81.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.5973, allocations: 319.3 kB / 0.5359 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.5973, allocations: 3.312 kB / 0.5359 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.5973, allocations: 2.938 kB / 0.5359 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.5975, allocations: 58.94 kB / 0.5359 GB, free: 81.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.5976, allocations: 1 kB / 0.5359 GB, free: 81.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.5976, allocations: 0.9688 kB / 0.5359 GB, free: 81.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5976, allocations: 0.8125 kB / 0.5359 GB, free: 81.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.5978, allocations: 38.44 kB / 0.536 GB, free: 81.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008392/0.5986, allocations: 429.3 kB / 0.5364 GB, free: 80.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.5989, allocations: 49.05 kB / 0.5364 GB, free: 80.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.599, allocations: 1.797 kB / 0.5364 GB, free: 80.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.599, allocations: 36.42 kB / 0.5365 GB, free: 80.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.495e-06/0.599, allocations: 0 / 0.5365 GB, free: 80.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001024/0.6, allocations: 242.9 kB / 0.5367 GB, free: 80.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.6001, allocations: 52.62 kB / 0.5367 GB, free: 80.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.6021, allocations: 0.7732 MB / 0.5375 GB, free: 80.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.6022, allocations: 29.33 kB / 0.5375 GB, free: 80.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.6024, allocations: 209.9 kB / 0.5377 GB, free: 80.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.6024, allocations: 20.34 kB / 0.5377 GB, free: 80.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.6025, allocations: 0 / 0.5377 GB, free: 80.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6026, allocations: 361.5 kB / 0.5381 GB, free: 80.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.6028, allocations: 27.31 kB / 0.5381 GB, free: 80.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.6029, allocations: 23.91 kB / 0.5381 GB, free: 80.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.6031, allocations: 51.73 kB / 0.5382 GB, free: 80.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6031, allocations: 7.953 kB / 0.5382 GB, free: 80.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000526/0.6036, allocations: 156.3 kB / 0.5383 GB, free: 79.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.6037, allocations: 37.86 kB / 0.5384 GB, free: 79.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.6037, allocations: 1.984 kB / 0.5384 GB, free: 79.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.6038, allocations: 0 / 0.5384 GB, free: 79.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.6039, allocations: 14.27 kB / 0.5384 GB, free: 79.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.6039, allocations: 6.094 kB / 0.5384 GB, free: 79.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.6041, allocations: 7.203 kB / 0.5384 GB, free: 79.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.6041, allocations: 1.5 kB / 0.5384 GB, free: 79.91 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.0003348/0.6045, allocations: 208.6 kB / 0.5386 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.6046, allocations: 42.14 kB / 0.5387 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004742/0.6051, allocations: 148.2 kB / 0.5388 GB, free: 79.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6051, allocations: 1.031 kB / 0.5388 GB, free: 79.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.6051, allocations: 1.375 kB / 0.5388 GB, free: 79.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.6051, allocations: 0 / 0.5388 GB, free: 79.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.6063, allocations: 0.5815 MB / 0.5394 GB, free: 79.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6064, allocations: 1 kB / 0.5394 GB, free: 79.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.6065, allocations: 14.8 kB / 0.5394 GB, free: 79.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.6065, allocations: 0 / 0.5394 GB, free: 79.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.6065, allocations: 4.594 kB / 0.5394 GB, free: 79.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.6066, allocations: 3.688 kB / 0.5394 GB, free: 79.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6066, allocations: 1.094 kB / 0.5394 GB, free: 79.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00046/0.607, allocations: 233.4 kB / 0.5396 GB, free: 79.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.6073, allocations: 152.1 kB / 0.5398 GB, free: 79.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/0.6074, allocations: 1.938 kB / 0.5398 GB, free: 79.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.6075, allocations: 7.844 kB / 0.5398 GB, free: 79.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.6076, allocations: 10.42 kB / 0.5398 GB, free: 79.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.6076, allocations: 6.484 kB / 0.5398 GB, free: 79.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001234/0.6089, allocations: 0.6248 MB / 0.5404 GB, free: 79.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.82e-07/0.6089, allocations: 0 / 0.5404 GB, free: 79.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004851/0.6094, allocations: 61.02 kB / 0.5404 GB, free: 79.04 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.001364/0.6108, allocations: 0.9512 MB / 0.5414 GB, free: 78.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003624/0.6111, allocations: 110.8 kB / 0.5415 GB, free: 78.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6112, allocations: 0 / 0.5415 GB, free: 78.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.6113, allocations: 35.11 kB / 0.5415 GB, free: 78.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.6118, allocations: 18.27 kB / 0.5415 GB, free: 78.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.6143, allocations: 1.321 MB / 0.5428 GB, free: 77.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.6147, allocations: 0.826 MB / 0.5436 GB, free: 76.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.6149, allocations: 44.14 kB / 0.5437 GB, free: 76.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.6151, allocations: 95.27 kB / 0.5438 GB, free: 76.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.253e-06/0.6152, allocations: 0 / 0.5438 GB, free: 76.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03428/0.6494, allocations: 5.983 MB / 0.5496 GB, free: 74.5 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.6497, allocations: 215.6 kB / 0.5498 GB, free: 74.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/3.196, allocations: 5.062 kB / 0.5498 GB, free: 74.25 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test1_res.mat does not exist to compare? outputFormat=mat