Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001511/0.001511, allocations: 118.8 kB / 17.79 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, allocations: 198 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 247 MB, free: 10.48 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.2262/0.2262, 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.002318/0.002318, allocations: 76.2 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3735, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003082/0.3766, allocations: 1.622 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009811/0.3777, allocations: 0.5408 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.3777, allocations: 0 / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.378, allocations: 85.91 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.3783, allocations: 101.8 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.3786, allocations: 114.5 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.3788, allocations: 89.17 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.889e-05/0.3789, allocations: 13.12 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.085e-05/0.3789, allocations: 34.89 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.3791, allocations: 60.81 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.3791, allocations: 6.25 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-05/0.3792, allocations: 46.36 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.3792, allocations: 22.83 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.3793, allocations: 30.47 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.3795, allocations: 112.7 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3795, allocations: 1.188 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3795, allocations: 0 / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.3795, allocations: 0 / 0.5334 GB, free: 11.28 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.0005137/0.38, allocations: 412.4 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3801, allocations: 9.781 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.3801, allocations: 42.73 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.3802, allocations: 17.94 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.3804, allocations: 210.2 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3804, allocations: 4.359 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.3804, allocations: 4.188 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.3806, allocations: 53.31 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3806, allocations: 1.875 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.3806, allocations: 0 / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3806, allocations: 5.734 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.946e-05/0.3807, allocations: 34.69 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.3812, allocations: 308.1 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.3813, allocations: 40.66 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.3813, allocations: 20.56 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3814, allocations: 1.406 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.3814, allocations: 34.56 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3814, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008905/0.3823, allocations: 243.2 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.3824, allocations: 56.78 kB / 0.5349 GB, free: 9.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.3826, allocations: 217.8 kB / 0.5351 GB, free: 9.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.3826, allocations: 27.08 kB / 0.5351 GB, free: 9.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/0.3827, allocations: 101.6 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.3827, allocations: 30.48 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.3828, allocations: 20.59 kB / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3829, allocations: 327 kB / 0.5356 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.555e-05/0.383, allocations: 31.09 kB / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.559e-05/0.3831, allocations: 29.86 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.3833, allocations: 78.23 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3833, allocations: 0 / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002366/0.3835, allocations: 116.3 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3835, allocations: 5.5 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3836, allocations: 0 / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3836, allocations: 9.312 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-05/0.3837, allocations: 17.73 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3837, allocations: 3.938 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.3837, allocations: 8.109 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.3838, allocations: 1.375 kB / 0.5358 GB, free: 9.059 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.0001038/0.3839, allocations: 129.2 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.3839, allocations: 13.31 kB / 0.536 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000307/0.3842, allocations: 130.2 kB / 0.5361 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3842, allocations: 1.562 kB / 0.5361 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3843, allocations: 7.875 kB / 0.5361 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3843, allocations: 5.609 kB / 0.5361 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/0.3848, allocations: 422.6 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3849, allocations: 4 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.272e-05/0.3849, allocations: 22.05 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3849, allocations: 5.094 kB / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.385, allocations: 1.562 kB / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.385, allocations: 1.281 kB / 0.5366 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.385, allocations: 0 / 0.5366 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.3853, allocations: 212.9 kB / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.3853, allocations: 96.48 kB / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.3854, allocations: 5.234 kB / 0.5369 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.3854, allocations: 7.766 kB / 0.5369 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.3855, allocations: 7.266 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.3855, allocations: 2.25 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.3856, allocations: 163.7 kB / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3857, allocations: 0 / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.3859, allocations: 22.66 kB / 0.537 GB, free: 7.992 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.002165/0.3881, allocations: 1.104 MB / 0.5381 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.3883, allocations: 71.45 kB / 0.5382 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.3884, allocations: 0 / 0.5382 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.601e-05/0.3885, allocations: 43.91 kB / 0.5382 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.3888, allocations: 19.22 kB / 0.5383 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.3909, allocations: 1.716 MB / 0.5399 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.3913, allocations: 0.7086 MB / 0.5406 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.579e-05/0.3913, allocations: 29.39 kB / 0.5406 GB, free: 4.879 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.3914, allocations: 37.08 kB / 0.5407 GB, free: 4.848 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3914, allocations: 0 / 0.5407 GB, free: 4.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03427/0.4257, allocations: 3.172 MB / 0.5438 GB, free: 3.129 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.593, allocations: 9.344 kB / 0.5438 GB, free: 3.125 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1)