Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, 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.435/1.435, 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.2307/0.2307, 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.002195/0.002195, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.323, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003076/0.3261, allocations: 1.616 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3272, allocations: 0.5468 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.688e-05/0.3273, allocations: 1 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.3276, allocations: 94.48 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.328, allocations: 110.4 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.3284, allocations: 119 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.3286, allocations: 81.61 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3288, allocations: 18.08 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/0.3288, allocations: 34.83 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.3289, allocations: 60.62 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.329, allocations: 3.031 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3291, allocations: 45.27 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.772e-05/0.3291, allocations: 24.86 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.3292, allocations: 33.03 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.3294, allocations: 115.2 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3294, allocations: 1.375 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3294, allocations: 3.938 kB / 0.5335 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3295, allocations: 0 / 0.5335 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005197/0.33, allocations: 424.9 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.33, allocations: 13.61 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.3301, allocations: 32.12 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.3301, allocations: 14.34 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3303, allocations: 196.6 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3304, allocations: 3.125 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.3304, allocations: 9.703 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.3306, allocations: 59.3 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3306, allocations: 0 / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3306, allocations: 9.312 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3306, allocations: 7.984 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.812e-05/0.3307, allocations: 24.48 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.3311, allocations: 305.7 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.3313, allocations: 47 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.434e-05/0.3314, allocations: 21.19 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.3314, allocations: 5.375 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3314, allocations: 31.94 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.3314, allocations: 0 / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009033/0.3323, allocations: 245.9 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.3324, allocations: 60.7 kB / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.3326, allocations: 231.1 kB / 0.5351 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.3326, allocations: 29.7 kB / 0.5351 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.3327, allocations: 106 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.3328, allocations: 36.17 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.3328, allocations: 19.72 kB / 0.5353 GB, free: 9.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.333, allocations: 326.1 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.3331, allocations: 33.05 kB / 0.5356 GB, free: 9.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-05/0.3332, allocations: 36.84 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.3333, allocations: 69.42 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3334, allocations: 0 / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002298/0.3336, allocations: 109.6 kB / 0.5359 GB, free: 9.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3336, allocations: 7.625 kB / 0.5359 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3336, allocations: 7.984 kB / 0.5359 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3337, allocations: 1.094 kB / 0.5359 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3338, allocations: 13.53 kB / 0.5359 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.3338, allocations: 9 kB / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.3338, allocations: 7.359 kB / 0.5359 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3338, allocations: 6.344 kB / 0.5359 GB, free: 9.027 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.0001035/0.334, allocations: 125.5 kB / 0.536 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.334, allocations: 10.64 kB / 0.536 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.3343, allocations: 146.5 kB / 0.5362 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3343, allocations: 1.125 kB / 0.5362 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.3343, allocations: 5.031 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3344, allocations: 0 / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/0.3349, allocations: 416.4 kB / 0.5366 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.335, allocations: 4.656 kB / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/0.335, allocations: 25.89 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3351, allocations: 1.094 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3351, allocations: 6.25 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3351, allocations: 0 / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3351, allocations: 1.281 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.3354, allocations: 225.3 kB / 0.5368 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.3355, allocations: 88.62 kB / 0.5369 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.3355, allocations: 5.703 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.3356, allocations: 6.781 kB / 0.5369 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.3356, allocations: 11.02 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3356, allocations: 2.312 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.3358, allocations: 183.5 kB / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3358, allocations: 0 / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000258/0.3361, allocations: 23.58 kB / 0.5371 GB, free: 7.945 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.002126/0.3382, allocations: 1.101 MB / 0.5382 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.3384, allocations: 70.23 kB / 0.5383 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3385, allocations: 1.188 kB / 0.5383 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.3386, allocations: 39.73 kB / 0.5383 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.339, allocations: 34.58 kB / 0.5383 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.3412, allocations: 1.749 MB / 0.5401 GB, free: 5.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.3416, allocations: 0.7133 MB / 0.5408 GB, free: 4.836 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.552e-05/0.3417, allocations: 24.45 kB / 0.5408 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.3418, allocations: 34.36 kB / 0.5408 GB, free: 4.793 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3418, allocations: 0 / 0.5408 GB, free: 4.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.3659, allocations: 3.255 MB / 0.544 GB, free: 3.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.525, allocations: 9.469 kB / 0.544 GB, free: 3.027 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1)