Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001596/0.001596, allocations: 122.8 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.001838/0.001839, allocations: 202 kB / 18.73 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.489/1.489, 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.2377/0.2377, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.00218/0.00218, allocations: 79.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3388, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003127/0.3419, allocations: 1.66 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.343, allocations: 0.5497 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.835e-05/0.3431, allocations: 5.375 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.3435, allocations: 98.77 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.3438, allocations: 113.6 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.3441, allocations: 115.5 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.3443, allocations: 108.3 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3445, allocations: 25.39 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.3446, allocations: 42.31 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.3447, allocations: 66.22 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.3447, allocations: 9.688 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3448, allocations: 46.22 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.3449, allocations: 31.23 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.823e-05/0.345, allocations: 43.92 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.3452, allocations: 130.9 kB / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3452, allocations: 1.938 kB / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3452, allocations: 0 / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3452, allocations: 0 / 0.5336 GB, free: 11.16 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005661/0.3458, allocations: 446.3 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3459, allocations: 13.53 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.3459, allocations: 35.91 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.346, allocations: 15.81 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.3462, allocations: 210.1 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.3462, allocations: 3.125 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.3462, allocations: 8.312 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.3464, allocations: 72.3 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.3464, allocations: 7.938 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.3465, allocations: 1.344 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3465, allocations: 9.359 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.3466, allocations: 44.53 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005157/0.3471, allocations: 347.3 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.3473, allocations: 64.8 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.138e-05/0.3474, allocations: 27.78 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.3474, allocations: 5.375 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.3474, allocations: 31.94 kB / 0.5349 GB, free: 9.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.3475, allocations: 0 / 0.5349 GB, free: 9.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001106/0.3486, allocations: 342.2 kB / 0.5352 GB, free: 9.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.3486, allocations: 52.78 kB / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.3489, allocations: 239.6 kB / 0.5355 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.3489, allocations: 29.7 kB / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.349, allocations: 111.5 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.349, allocations: 48.2 kB / 0.5357 GB, free: 9.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.3491, allocations: 23.88 kB / 0.5357 GB, free: 9.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3492, allocations: 326.8 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.3494, allocations: 56.83 kB / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.3495, allocations: 51.06 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.3497, allocations: 103.8 kB / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3497, allocations: 0 / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003202/0.3501, allocations: 155.5 kB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.3501, allocations: 9.656 kB / 0.5363 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3501, allocations: 3.938 kB / 0.5364 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3501, allocations: 5.062 kB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.3503, allocations: 29.23 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3503, allocations: 0.7031 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.3504, allocations: 12.45 kB / 0.5364 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.3504, allocations: 2.281 kB / 0.5364 GB, free: 8.719 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 (13): * Single equations (assignments): 13 * 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.0001495/0.3505, allocations: 132.1 kB / 0.5365 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.3506, allocations: 14.66 kB / 0.5365 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004297/0.351, allocations: 201 kB / 0.5367 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.351, allocations: 1.969 kB / 0.5367 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3511, allocations: 0 / 0.5367 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3511, allocations: 5.016 kB / 0.5367 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007715/0.3518, allocations: 0.4922 MB / 0.5372 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3519, allocations: 5.031 kB / 0.5372 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.252e-05/0.352, allocations: 29.45 kB / 0.5373 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.352, allocations: 1.844 kB / 0.5373 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.352, allocations: 5.938 kB / 0.5373 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.352, allocations: 0 / 0.5373 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.352, allocations: 1.438 kB / 0.5373 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.3524, allocations: 265.6 kB / 0.5375 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.3524, allocations: 89.11 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.3525, allocations: 5.344 kB / 0.5376 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.3526, allocations: 3.875 kB / 0.5376 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.3526, allocations: 8.516 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.3526, allocations: 3.469 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.3528, allocations: 183.3 kB / 0.5378 GB, free: 7.562 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3528, allocations: 0 / 0.5378 GB, free: 7.562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.3531, allocations: 31.22 kB / 0.5378 GB, free: 7.551 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 (13): * Single equations (assignments): 13 * 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.002203/0.3553, allocations: 1.138 MB / 0.5389 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.3556, allocations: 109.5 kB / 0.539 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3556, allocations: 0 / 0.539 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.3557, allocations: 64.72 kB / 0.5391 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.3561, allocations: 27.05 kB / 0.5391 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.3586, allocations: 1.92 MB / 0.541 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.359, allocations: 0.7237 MB / 0.5417 GB, free: 4.297 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.367e-05/0.3591, allocations: 28.73 kB / 0.5417 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.3592, allocations: 44.27 kB / 0.5418 GB, free: 4.254 MB / 398.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3592, allocations: 0 / 0.5418 GB, free: 4.254 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.3838, allocations: 3.62 MB / 0.5453 GB, free: 2.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.526, allocations: 15.77 kB / 0.5453 GB, free: 2.316 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1)