Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001806/0.001806, allocations: 118.2 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.002113/0.002113, allocations: 205.2 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.461/1.461, allocations: 227.4 MB / 247 MB, free: 10.43 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.2362/0.2362, allocations: 46.11 MB / 344.3 MB, free: 11.47 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.002267/0.002267, allocations: 72.33 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3705, allocations: 62.46 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003086/0.3736, allocations: 1.595 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3755, allocations: 1.155 MB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.3756, allocations: 4 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.3759, allocations: 29.91 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.3762, allocations: 80.16 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.3765, allocations: 119.4 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3767, allocations: 66.75 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3768, allocations: 19.23 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.84e-05/0.3769, allocations: 24.92 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.3771, allocations: 32.38 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.3771, allocations: 3.562 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.3773, allocations: 103 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.232e-05/0.3774, allocations: 10.69 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.3774, allocations: 29.34 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.3777, allocations: 138.1 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3777, allocations: 1.375 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3777, allocations: 0 / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.3778, allocations: 0 / 0.5339 GB, free: 10.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006248/0.3784, allocations: 407.5 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3784, allocations: 9.625 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.3785, allocations: 32.12 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.3785, allocations: 11.64 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.3788, allocations: 197.8 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3788, allocations: 1.75 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.3789, allocations: 1.75 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.379, allocations: 73.08 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3791, allocations: 0 / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3791, allocations: 1.375 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3791, allocations: 3.938 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.3792, allocations: 29.67 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.3797, allocations: 284.3 kB / 0.535 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.3799, allocations: 48.42 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.38, allocations: 17.11 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.38, allocations: 3.938 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.38, allocations: 36.02 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.38, allocations: 0 / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006252/0.3807, allocations: 151.4 kB / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.3807, allocations: 81.09 kB / 0.5353 GB, free: 9.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.3809, allocations: 145 kB / 0.5354 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.3809, allocations: 25.7 kB / 0.5354 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.381, allocations: 96.2 kB / 0.5355 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.3811, allocations: 17.22 kB / 0.5355 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.3811, allocations: 19.22 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3813, allocations: 328.1 kB / 0.5359 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-05/0.3814, allocations: 20.36 kB / 0.5359 GB, free: 8.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.3815, allocations: 31.45 kB / 0.5359 GB, free: 8.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.3816, allocations: 55.84 kB / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3816, allocations: 0 / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002111/0.3818, allocations: 95.16 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3819, allocations: 5.875 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3819, allocations: 0 / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3819, allocations: 0.875 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.382, allocations: 13.11 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.382, allocations: 1.219 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.382, allocations: 10.73 kB / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.3821, allocations: 2.375 kB / 0.5361 GB, free: 8.699 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 (5): * Single equations (assignments): 5 * 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.0001159/0.3822, allocations: 118 kB / 0.5362 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.3822, allocations: 7.141 kB / 0.5362 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.3825, allocations: 105.4 kB / 0.5363 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3825, allocations: 0 / 0.5363 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3825, allocations: 1.25 kB / 0.5363 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3825, allocations: 7.938 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.383, allocations: 355.5 kB / 0.5367 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.383, allocations: 7.938 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/0.3831, allocations: 18.38 kB / 0.5367 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3831, allocations: 3.938 kB / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3831, allocations: 5.062 kB / 0.5367 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.3831, allocations: 1.281 kB / 0.5367 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3831, allocations: 0 / 0.5367 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.3834, allocations: 190.1 kB / 0.5369 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.3835, allocations: 83.34 kB / 0.537 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.3835, allocations: 4.75 kB / 0.537 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.3836, allocations: 7.234 kB / 0.537 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.3836, allocations: 2.25 kB / 0.537 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.3836, allocations: 1.094 kB / 0.537 GB, free: 7.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.3838, allocations: 117 kB / 0.5371 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3838, allocations: 0 / 0.5371 GB, free: 7.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.3841, allocations: 36.41 kB / 0.5371 GB, free: 7.73 MB / 398.1 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 (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.002293/0.3864, allocations: 1.1 MB / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.3866, allocations: 63.98 kB / 0.5383 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3866, allocations: 0 / 0.5383 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.432e-05/0.3867, allocations: 32.89 kB / 0.5383 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3871, allocations: 20.91 kB / 0.5383 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.3889, allocations: 1.451 MB / 0.5397 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.3893, allocations: 0.6945 MB / 0.5404 GB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.26e-05/0.3894, allocations: 25.8 kB / 0.5404 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.3894, allocations: 26.52 kB / 0.5405 GB, free: 4.75 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3895, allocations: 0 / 0.5405 GB, free: 4.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.4158, allocations: 3.257 MB / 0.5436 GB, free: 2.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.428, allocations: 3.312 kB / 0.5436 GB, free: 2.891 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1)