Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 205.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2286/0.2286, allocations: 46.11 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00364/0.00364, allocations: 72.2 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3692, allocations: 62.46 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002967/0.3722, allocations: 1.65 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009626/0.3732, allocations: 0.5519 MB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.3733, allocations: 1.375 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.3735, allocations: 33.41 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.3738, allocations: 85.73 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.3741, allocations: 119.2 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.3742, allocations: 88.75 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3744, allocations: 33.41 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.961e-05/0.3744, allocations: 32.98 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.3745, allocations: 40.64 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.3745, allocations: 4.469 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.005e-05/0.3746, allocations: 51.55 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.3747, allocations: 19.75 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.3747, allocations: 37.47 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.3749, allocations: 109 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3749, allocations: 1.125 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.375, allocations: 7.938 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.375, allocations: 3.938 kB / 0.5334 GB, free: 11.26 MB / 398.1 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.0005037/0.3755, allocations: 412 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3755, allocations: 10.03 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.3756, allocations: 36.03 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.3756, allocations: 14.53 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.3758, allocations: 198.8 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3758, allocations: 6.969 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.3759, allocations: 4.031 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.376, allocations: 84.14 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3761, allocations: 0 / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3761, allocations: 9.172 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3761, allocations: 1.25 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.3762, allocations: 40.69 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.3767, allocations: 339 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.3769, allocations: 68.31 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.351e-05/0.3769, allocations: 28.31 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.377, allocations: 5.266 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.377, allocations: 36.02 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.377, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001055/0.3781, allocations: 331.8 kB / 0.535 GB, free: 9.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3781, allocations: 52.78 kB / 0.535 GB, free: 9.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3783, allocations: 166.2 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3783, allocations: 27.08 kB / 0.5352 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.3784, allocations: 104.2 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.3784, allocations: 49.08 kB / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.3785, allocations: 27.34 kB / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3786, allocations: 321.6 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.3787, allocations: 44.72 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.411e-05/0.3788, allocations: 47.97 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.3791, allocations: 107.9 kB / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3791, allocations: 4 kB / 0.5359 GB, free: 9.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002947/0.3794, allocations: 160.8 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3794, allocations: 5.562 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3794, allocations: 0 / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3794, allocations: 1.062 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.3795, allocations: 25.33 kB / 0.5361 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3796, allocations: 5.031 kB / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.3796, allocations: 7.75 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3796, allocations: 6.719 kB / 0.5361 GB, free: 8.918 MB / 398.1 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.3797, allocations: 130.2 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.3798, allocations: 12.92 kB / 0.5362 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.3802, allocations: 181 kB / 0.5364 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3802, allocations: 2.562 kB / 0.5364 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3802, allocations: 0 / 0.5364 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3802, allocations: 3.984 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.3809, allocations: 499.4 kB / 0.5369 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3809, allocations: 0 / 0.5369 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-05/0.381, allocations: 33.45 kB / 0.5369 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.381, allocations: 1.156 kB / 0.5369 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.381, allocations: 5.094 kB / 0.5369 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.381, allocations: 5.141 kB / 0.5369 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.381, allocations: 1.156 kB / 0.5369 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.3814, allocations: 253.5 kB / 0.5372 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.3814, allocations: 87.78 kB / 0.5373 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.3814, allocations: 0.875 kB / 0.5373 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.3815, allocations: 12.11 kB / 0.5373 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.3816, allocations: 8.828 kB / 0.5373 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.3816, allocations: 11.41 kB / 0.5373 GB, free: 7.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.3817, allocations: 123.6 kB / 0.5374 GB, free: 7.797 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3817, allocations: 0 / 0.5374 GB, free: 7.797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.382, allocations: 26.78 kB / 0.5374 GB, free: 7.789 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002128/0.3841, allocations: 1.13 MB / 0.5385 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.3844, allocations: 112.4 kB / 0.5386 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3844, allocations: 1.219 kB / 0.5386 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.3845, allocations: 59.5 kB / 0.5387 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3849, allocations: 29.48 kB / 0.5387 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.3871, allocations: 1.759 MB / 0.5404 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.3875, allocations: 0.7123 MB / 0.5411 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.742e-05/0.3875, allocations: 25.88 kB / 0.5412 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.946e-05/0.3876, allocations: 36.02 kB / 0.5412 GB, free: 4.574 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3876, allocations: 4 kB / 0.5412 GB, free: 4.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.4126, allocations: 3.281 MB / 0.5444 GB, free: 2.801 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.544, allocations: 9.391 kB / 0.5444 GB, free: 2.797 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1)