Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002027/0.002027, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, 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.2263/0.2263, allocations: 46.12 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.002233/0.002233, allocations: 80.16 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3106, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002885/0.3136, allocations: 1.601 MB / 0.5322 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.3153, allocations: 1.163 MB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.3154, allocations: 1.219 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.3157, allocations: 29.25 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.316, allocations: 80.56 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.3164, allocations: 118.8 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.3166, allocations: 66.52 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3167, allocations: 19.36 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.328e-05/0.3167, allocations: 21.67 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.3169, allocations: 31.22 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.3169, allocations: 3.406 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.3171, allocations: 107 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.3172, allocations: 12.28 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.3173, allocations: 24.89 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.3175, allocations: 146.7 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3176, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3176, allocations: 3.938 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3176, allocations: 0 / 0.534 GB, free: 10.81 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006291/0.3182, allocations: 399.6 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3183, allocations: 9.625 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.3183, allocations: 36.12 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.3183, allocations: 13.02 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.3186, allocations: 192.5 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.3186, allocations: 1.75 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.3187, allocations: 3.125 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.3188, allocations: 67.7 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3189, allocations: 3.938 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3189, allocations: 1.375 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.3189, allocations: 7.922 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.582e-05/0.319, allocations: 29.72 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.3195, allocations: 288.2 kB / 0.535 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.3197, allocations: 45.75 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.3197, allocations: 19.81 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.3198, allocations: 4 kB / 0.535 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3198, allocations: 31.94 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3198, allocations: 0 / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005833/0.3204, allocations: 151.4 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.3205, allocations: 78.48 kB / 0.5353 GB, free: 9.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.3206, allocations: 148 kB / 0.5354 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3207, allocations: 25.7 kB / 0.5354 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.3207, allocations: 100.2 kB / 0.5355 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.3208, allocations: 17.23 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.3208, allocations: 15.22 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.321, allocations: 324.1 kB / 0.5359 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.181e-05/0.321, allocations: 20.36 kB / 0.5359 GB, free: 8.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.347e-05/0.3211, allocations: 41 kB / 0.5359 GB, free: 8.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3213, allocations: 54.95 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3213, allocations: 0 / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001916/0.3215, allocations: 87.94 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3215, allocations: 8.109 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3215, allocations: 1.375 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3215, allocations: 0 / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.191e-05/0.3216, allocations: 13.66 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3216, allocations: 1.375 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/0.3217, allocations: 10.67 kB / 0.5361 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.3217, allocations: 5.375 kB / 0.5361 GB, free: 8.691 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 (5): * Single equations (assignments): 5 * 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 9.369e-05/0.3218, allocations: 114 kB / 0.5362 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.3218, allocations: 8.078 kB / 0.5362 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.3221, allocations: 108 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3221, allocations: 1.094 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3221, allocations: 0 / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3221, allocations: 5.25 kB / 0.5363 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.3226, allocations: 351.4 kB / 0.5367 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3226, allocations: 3.938 kB / 0.5367 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.3227, allocations: 17.89 kB / 0.5367 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3227, allocations: 0 / 0.5367 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3227, allocations: 5.125 kB / 0.5367 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3227, allocations: 4.188 kB / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3227, allocations: 5.094 kB / 0.5367 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.323, allocations: 182.8 kB / 0.5369 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.3231, allocations: 82.81 kB / 0.537 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3231, allocations: 4.844 kB / 0.537 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.3232, allocations: 7.391 kB / 0.537 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.3232, allocations: 10.53 kB / 0.537 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3232, allocations: 1.188 kB / 0.537 GB, free: 7.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.3234, allocations: 116.7 kB / 0.5371 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3234, allocations: 0 / 0.5371 GB, free: 7.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.3237, allocations: 39.89 kB / 0.5371 GB, free: 7.727 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.002263/0.3259, allocations: 1.104 MB / 0.5382 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.3262, allocations: 55.58 kB / 0.5383 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3262, allocations: 0 / 0.5383 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.3263, allocations: 28.86 kB / 0.5383 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.3266, allocations: 22.06 kB / 0.5383 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.3285, allocations: 1.448 MB / 0.5397 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3288, allocations: 0.6985 MB / 0.5404 GB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.759e-05/0.3289, allocations: 30.31 kB / 0.5404 GB, free: 4.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.329, allocations: 26.17 kB / 0.5405 GB, free: 4.746 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.329, allocations: 4 kB / 0.5405 GB, free: 4.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.3557, allocations: 3.25 MB / 0.5436 GB, free: 2.887 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.457, allocations: 7.062 kB / 0.5436 GB, free: 2.887 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1)