Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001611/0.001611, allocations: 118.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.001643/0.001643, allocations: 197.2 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.493/1.493, allocations: 227.4 MB / 247 MB, free: 10.45 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.2278/0.2278, allocations: 46.13 MB / 344.4 MB, free: 11.48 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.002577/0.002577, allocations: 76.16 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3405, allocations: 62.45 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003068/0.3436, allocations: 1.615 MB / 0.5322 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3446, allocations: 0.5513 MB / 0.5328 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.598e-05/0.3447, allocations: 1.188 kB / 0.5328 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.345, allocations: 74.83 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.3453, allocations: 101 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.3457, allocations: 119.2 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.3458, allocations: 78.97 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.3459, allocations: 16.61 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.361e-05/0.346, allocations: 31.47 kB / 0.5332 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.854e-05/0.3461, allocations: 50.92 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.3461, allocations: 3.469 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.503e-05/0.3462, allocations: 49.23 kB / 0.5333 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.3463, allocations: 19.08 kB / 0.5333 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.3463, allocations: 33.33 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.3465, allocations: 108.1 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3465, allocations: 1.375 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3465, allocations: 0 / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.3465, allocations: 0 / 0.5334 GB, free: 11.32 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.0004877/0.347, allocations: 414.2 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.3471, allocations: 9.625 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.3471, allocations: 32.12 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.3472, allocations: 26.28 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.3474, allocations: 195.2 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-06/0.3474, allocations: 1.75 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.3474, allocations: 3.125 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.3475, allocations: 57.98 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3476, allocations: 1.375 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.3476, allocations: 0 / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3476, allocations: 1.375 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.63e-05/0.3477, allocations: 35.02 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.3481, allocations: 300.4 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.3482, allocations: 51.03 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.3483, allocations: 21.19 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3483, allocations: 1.375 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.3483, allocations: 39.88 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3483, allocations: 0 / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008675/0.3492, allocations: 234 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.3493, allocations: 51.41 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.3495, allocations: 211.9 kB / 0.535 GB, free: 9.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3495, allocations: 27.08 kB / 0.535 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.3496, allocations: 105.6 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.3496, allocations: 34.5 kB / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.3497, allocations: 24.58 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3498, allocations: 321.6 kB / 0.5355 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.3499, allocations: 28.48 kB / 0.5355 GB, free: 9.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.35, allocations: 36.94 kB / 0.5356 GB, free: 9.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.3502, allocations: 70.05 kB / 0.5356 GB, free: 9.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3502, allocations: 3.938 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002251/0.3504, allocations: 109 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3504, allocations: 5.844 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.3504, allocations: 0 / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3504, allocations: 0 / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.3505, allocations: 22.02 kB / 0.5358 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3506, allocations: 5.75 kB / 0.5358 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.3506, allocations: 6.438 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.3506, allocations: 2.562 kB / 0.5358 GB, free: 9.117 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.0001053/0.3507, allocations: 128.4 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.3508, allocations: 16.38 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.3511, allocations: 138 kB / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3511, allocations: 5.156 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3511, allocations: 3.938 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3511, allocations: 1.031 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.3517, allocations: 414.5 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3517, allocations: 3.938 kB / 0.5365 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/0.3518, allocations: 22.08 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3518, allocations: 5.25 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3518, allocations: 1.188 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3518, allocations: 5.125 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3518, allocations: 0 / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.3521, allocations: 213.4 kB / 0.5367 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.3522, allocations: 95.23 kB / 0.5368 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3522, allocations: 5.219 kB / 0.5368 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.3523, allocations: 4.219 kB / 0.5368 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.3523, allocations: 7.078 kB / 0.5368 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.3523, allocations: 2.656 kB / 0.5368 GB, free: 8.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.3525, allocations: 154 kB / 0.537 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3525, allocations: 3.938 kB / 0.537 GB, free: 8.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.3527, allocations: 18.78 kB / 0.537 GB, free: 8.055 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.002083/0.3548, allocations: 1.106 MB / 0.5381 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.3551, allocations: 75.28 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3551, allocations: 0 / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.497e-05/0.3552, allocations: 35.83 kB / 0.5382 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.3555, allocations: 22.22 kB / 0.5382 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.3575, allocations: 1.689 MB / 0.5398 GB, free: 5.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.3578, allocations: 0.7074 MB / 0.5405 GB, free: 4.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.689e-05/0.3579, allocations: 20.25 kB / 0.5405 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.358, allocations: 34.45 kB / 0.5406 GB, free: 4.934 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.358, allocations: 0 / 0.5406 GB, free: 4.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/0.3959, allocations: 3.107 MB / 0.5436 GB, free: 3.238 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.486, allocations: 9.469 kB / 0.5436 GB, free: 3.234 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1)