Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002024/0.002024, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002332/0.002332, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 247 MB, free: 10.44 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.2316/0.2316, allocations: 46.12 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.002795/0.002795, allocations: 87.8 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3305, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003172/0.3337, allocations: 1.624 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3348, allocations: 0.5399 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.3349, allocations: 1.781 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.3352, allocations: 75.98 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.3355, allocations: 108.4 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.3359, allocations: 109.3 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.3361, allocations: 92.72 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3362, allocations: 17.61 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.922e-05/0.3363, allocations: 31.03 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.3364, allocations: 60.69 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3364, allocations: 2.75 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3365, allocations: 44.86 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.326e-05/0.3366, allocations: 24.16 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.3367, allocations: 30.62 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.3369, allocations: 117.6 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3369, allocations: 0 / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3369, allocations: 0 / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.3369, allocations: 0 / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005865/0.3375, allocations: 415.6 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3376, allocations: 9.625 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.3376, allocations: 36.11 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.3377, allocations: 14.34 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.3379, allocations: 207.8 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.338, allocations: 5.75 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.338, allocations: 3.125 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3382, allocations: 59.31 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3382, allocations: 0 / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3382, allocations: 5.312 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.3382, allocations: 4 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.3383, allocations: 32.45 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.3388, allocations: 300.3 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3389, allocations: 43.81 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.339, allocations: 20.53 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.339, allocations: 5.125 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.3391, allocations: 31.53 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3391, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009608/0.3401, allocations: 246.4 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.3401, allocations: 52.72 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.3404, allocations: 214.3 kB / 0.5351 GB, free: 9.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3404, allocations: 30.77 kB / 0.5351 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.3405, allocations: 101.8 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.3405, allocations: 31.02 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.3406, allocations: 19.38 kB / 0.5352 GB, free: 9.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3408, allocations: 323.4 kB / 0.5355 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.27e-05/0.3409, allocations: 39.81 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.883e-05/0.3409, allocations: 28.52 kB / 0.5356 GB, free: 9.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.3411, allocations: 78.75 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3411, allocations: 0 / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002273/0.3414, allocations: 108.9 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3414, allocations: 5 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3414, allocations: 5.5 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3414, allocations: 0 / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3415, allocations: 26.36 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3416, allocations: 3.938 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.3416, allocations: 7.984 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3416, allocations: 1.125 kB / 0.5358 GB, free: 9.051 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.0001072/0.3417, allocations: 129 kB / 0.536 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.3418, allocations: 13.94 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.3421, allocations: 137.4 kB / 0.5361 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3421, allocations: 1.375 kB / 0.5361 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.3421, allocations: 9.297 kB / 0.5361 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3421, allocations: 0 / 0.5361 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/0.3427, allocations: 423.7 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3427, allocations: 0 / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-05/0.3428, allocations: 29.58 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3428, allocations: 1.562 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3428, allocations: 1.531 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3428, allocations: 1.562 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3428, allocations: 0 / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.3431, allocations: 212.3 kB / 0.5367 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.3432, allocations: 96.25 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.3432, allocations: 1.219 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.3433, allocations: 4.094 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.3434, allocations: 11.23 kB / 0.5369 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3434, allocations: 2.703 kB / 0.5369 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.3435, allocations: 163.4 kB / 0.537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3435, allocations: 0 / 0.537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.3438, allocations: 23.12 kB / 0.537 GB, free: 7.984 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.002261/0.3461, allocations: 1.106 MB / 0.5381 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.3464, allocations: 70.75 kB / 0.5382 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3464, allocations: 1.219 kB / 0.5382 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3465, allocations: 43.06 kB / 0.5382 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.3469, allocations: 24.14 kB / 0.5382 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.349, allocations: 1.709 MB / 0.5399 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.3494, allocations: 0.709 MB / 0.5406 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.048e-05/0.3495, allocations: 28.72 kB / 0.5406 GB, free: 4.875 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.227e-05/0.3496, allocations: 41.2 kB / 0.5407 GB, free: 4.84 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3496, allocations: 0 / 0.5407 GB, free: 4.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.374, allocations: 3.167 MB / 0.5438 GB, free: 3.129 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.536, allocations: 18.05 kB / 0.5438 GB, free: 3.113 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1)