Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001811/0.001811, 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.002198/0.002198, allocations: 198 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.538/1.538, 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.2428/0.2428, allocations: 46.11 MB / 344.3 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.002263/0.002263, allocations: 79.81 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.337, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002976/0.34, allocations: 1.6 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3411, allocations: 0.5362 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.3411, allocations: 1.312 kB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.3414, allocations: 24.95 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.3417, allocations: 82.89 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.342, allocations: 111.2 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.3422, allocations: 65.83 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.3423, allocations: 10.56 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.454e-05/0.3424, allocations: 25 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.385e-05/0.3424, allocations: 29.8 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.3425, allocations: 3.594 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.158e-05/0.3425, allocations: 35.48 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.3426, allocations: 12.34 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.3426, allocations: 21.36 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.3428, allocations: 82.84 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3428, allocations: 3.938 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3429, allocations: 2.062 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.3429, allocations: 0 / 0.5332 GB, free: 11.39 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.0004732/0.3433, allocations: 388 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3434, allocations: 9.156 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/0.3434, allocations: 34.75 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.3435, allocations: 8.766 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.3437, allocations: 193.3 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-06/0.3437, allocations: 1.938 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.3437, allocations: 1.969 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.3438, allocations: 52.03 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3439, allocations: 5.312 kB / 0.5339 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3439, allocations: 3.984 kB / 0.5339 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3439, allocations: 4 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.13e-05/0.344, allocations: 25.88 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.3444, allocations: 279.9 kB / 0.5342 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.3446, allocations: 49.23 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.289e-05/0.3446, allocations: 20.39 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.3447, allocations: 0 / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3447, allocations: 35.84 kB / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3447, allocations: 0 / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005607/0.3453, allocations: 150.6 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.3453, allocations: 52.78 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.3455, allocations: 162.9 kB / 0.5346 GB, free: 9.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3455, allocations: 25.7 kB / 0.5346 GB, free: 9.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.3456, allocations: 94.88 kB / 0.5347 GB, free: 9.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.3456, allocations: 14.61 kB / 0.5347 GB, free: 9.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.3457, allocations: 17.84 kB / 0.5348 GB, free: 9.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3458, allocations: 325.5 kB / 0.5351 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.3459, allocations: 20.36 kB / 0.5351 GB, free: 9.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.346, allocations: 24.36 kB / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.3461, allocations: 59.12 kB / 0.5352 GB, free: 9.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3462, allocations: 0 / 0.5352 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002009/0.3464, allocations: 87.94 kB / 0.5352 GB, free: 9.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3464, allocations: 4.125 kB / 0.5352 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3464, allocations: 1.375 kB / 0.5353 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3464, allocations: 3.938 kB / 0.5353 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.484e-05/0.3465, allocations: 17.61 kB / 0.5353 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3465, allocations: 1.375 kB / 0.5353 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.092e-05/0.3465, allocations: 6.734 kB / 0.5353 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3466, allocations: 5.312 kB / 0.5353 GB, free: 9.352 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 8.654e-05/0.3467, allocations: 115.3 kB / 0.5354 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.3467, allocations: 6.703 kB / 0.5354 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.3469, allocations: 101.6 kB / 0.5355 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.347, allocations: 4 kB / 0.5355 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.347, allocations: 1.375 kB / 0.5355 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.347, allocations: 0 / 0.5355 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.3475, allocations: 356 kB / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3475, allocations: 0 / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.3475, allocations: 17.55 kB / 0.5359 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3475, allocations: 0 / 0.5359 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3476, allocations: 5.375 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3476, allocations: 7.938 kB / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.3476, allocations: 1.375 kB / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.3478, allocations: 186 kB / 0.5361 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/0.3479, allocations: 83.81 kB / 0.5361 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.3479, allocations: 0 / 0.5361 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.348, allocations: 10.67 kB / 0.5361 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.348, allocations: 10.75 kB / 0.5362 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.348, allocations: 1.375 kB / 0.5362 GB, free: 8.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.005e-05/0.3481, allocations: 114.5 kB / 0.5363 GB, free: 8.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3481, allocations: 0 / 0.5363 GB, free: 8.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.3484, allocations: 18.59 kB / 0.5363 GB, free: 8.402 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.001903/0.3503, allocations: 1.017 MB / 0.5373 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.3505, allocations: 50.92 kB / 0.5373 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3505, allocations: 0 / 0.5373 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-05/0.3506, allocations: 28.08 kB / 0.5373 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.351, allocations: 29.89 kB / 0.5374 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.3528, allocations: 1.465 MB / 0.5388 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3531, allocations: 0.696 MB / 0.5395 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.902e-05/0.3532, allocations: 20.58 kB / 0.5395 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.3533, allocations: 23.12 kB / 0.5395 GB, free: 5.457 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3533, allocations: 4 kB / 0.5395 GB, free: 5.453 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.3776, allocations: 2.568 MB / 0.542 GB, free: 4.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.356, allocations: 7.281 kB / 0.542 GB, free: 4.012 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1)