Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001795/0.001795, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002109/0.002109, allocations: 199.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.459/1.459, allocations: 227.4 MB / 247 MB, free: 10.39 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.2383/0.2383, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002327/0.002327, allocations: 83.8 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3751, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002915/0.3781, allocations: 1.626 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.3791, allocations: 0.5432 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.3792, allocations: 1.156 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.3795, allocations: 77.48 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.3798, allocations: 105.6 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.3801, allocations: 119.3 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.3803, allocations: 81.09 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3804, allocations: 16.27 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.554e-05/0.3804, allocations: 36.12 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3806, allocations: 56.53 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3806, allocations: 6.75 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.3808, allocations: 44.86 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.3808, allocations: 28.09 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.3809, allocations: 30.62 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.3811, allocations: 112.3 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3811, allocations: 1.375 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3811, allocations: 0 / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3811, allocations: 0 / 0.5334 GB, free: 11.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005759/0.3817, allocations: 415.5 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3817, allocations: 13.62 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.3818, allocations: 36.12 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.3818, allocations: 18.33 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.382, allocations: 203.8 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.3821, allocations: 1.75 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.3821, allocations: 7.109 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.3823, allocations: 55.38 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.3823, allocations: 7.922 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3823, allocations: 5.312 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3823, allocations: 0 / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.74e-05/0.3824, allocations: 32.47 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.3828, allocations: 300.4 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.383, allocations: 43 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/0.383, allocations: 21.19 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.3831, allocations: 5.375 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.3831, allocations: 31.94 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3831, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009091/0.384, allocations: 241.7 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3841, allocations: 56.72 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.3843, allocations: 218.8 kB / 0.5351 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.3844, allocations: 25.7 kB / 0.5351 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.3844, allocations: 101.7 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.3845, allocations: 31.02 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.3845, allocations: 20.97 kB / 0.5352 GB, free: 9.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3847, allocations: 325.5 kB / 0.5355 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.3848, allocations: 32.97 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.081e-05/0.3849, allocations: 28.27 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.3851, allocations: 82.69 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3851, allocations: 0 / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002843/0.3854, allocations: 112.8 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3854, allocations: 5.5 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3854, allocations: 0 / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3855, allocations: 5.156 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3856, allocations: 21.58 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3856, allocations: 5.188 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.3857, allocations: 11.14 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3857, allocations: 2.312 kB / 0.5358 GB, free: 9.047 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 (8): * Single equations (assignments): 8 * 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.0001242/0.3858, allocations: 132 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.3858, allocations: 13.72 kB / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.3862, allocations: 130.6 kB / 0.5361 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3862, allocations: 1 kB / 0.5361 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3862, allocations: 3.938 kB / 0.5361 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3862, allocations: 5.078 kB / 0.5361 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006336/0.3869, allocations: 422.9 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3869, allocations: 1.125 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.772e-05/0.387, allocations: 28.89 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.387, allocations: 1.312 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.387, allocations: 1.062 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.387, allocations: 1.688 kB / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.387, allocations: 0 / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.3873, allocations: 205.8 kB / 0.5367 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.3874, allocations: 95.61 kB / 0.5368 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.3874, allocations: 5.422 kB / 0.5368 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.3875, allocations: 7.875 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.3875, allocations: 15 kB / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3876, allocations: 2.094 kB / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.3877, allocations: 163.5 kB / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3877, allocations: 1.562 kB / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.388, allocations: 22.31 kB / 0.537 GB, free: 7.98 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 (8): * Single equations (assignments): 8 * 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.002262/0.3903, allocations: 1.097 MB / 0.5381 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.3905, allocations: 79.09 kB / 0.5382 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3905, allocations: 0 / 0.5382 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3907, allocations: 44.09 kB / 0.5382 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.391, allocations: 18.73 kB / 0.5383 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.3933, allocations: 1.712 MB / 0.5399 GB, free: 5.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.3937, allocations: 0.7083 MB / 0.5406 GB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.646e-05/0.3938, allocations: 29.55 kB / 0.5406 GB, free: 4.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.3938, allocations: 37.36 kB / 0.5407 GB, free: 4.84 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3938, allocations: 0 / 0.5407 GB, free: 4.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.4198, allocations: 3.173 MB / 0.5438 GB, free: 3.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/8.546, allocations: 8.656 kB / 0.5438 GB, free: 3.117 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1)