Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001378, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 206 kB / 18.74 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.473/1.473, allocations: 227.4 MB / 247 MB, free: 10.4 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.2341/0.2341, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002286/0.002286, allocations: 87.81 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3651, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003447/0.3686, allocations: 1.627 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3697, allocations: 0.5325 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.3698, allocations: 1.5 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.3702, allocations: 80.28 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.3705, allocations: 102.6 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.3708, allocations: 94.94 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.371, allocations: 80.44 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3711, allocations: 17.02 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/0.3712, allocations: 30.78 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.3713, allocations: 60.44 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.3714, allocations: 7.656 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3715, allocations: 45.52 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.3716, allocations: 18.42 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.3716, allocations: 34.58 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.3719, allocations: 108.4 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3719, allocations: 0 / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3719, allocations: 1.375 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3719, allocations: 0 / 0.5334 GB, free: 11.28 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.0006225/0.3725, allocations: 423.5 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.3726, allocations: 9.625 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.3726, allocations: 38.69 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.3727, allocations: 14.34 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.3729, allocations: 209.2 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3729, allocations: 1.75 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.373, allocations: 1.75 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3731, allocations: 59.36 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3732, allocations: 0 / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.3732, allocations: 4 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.3732, allocations: 1.375 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.904e-05/0.3733, allocations: 30.98 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.3737, allocations: 294.9 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.3738, allocations: 39.06 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.3739, allocations: 25.09 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.3739, allocations: 96 / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.374, allocations: 39.86 kB / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.374, allocations: 0 / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009106/0.3749, allocations: 229.8 kB / 0.5347 GB, free: 9.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.375, allocations: 52.78 kB / 0.5348 GB, free: 9.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.3752, allocations: 215.2 kB / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.3752, allocations: 29.7 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.3753, allocations: 105.6 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.3754, allocations: 31.86 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.3754, allocations: 19.22 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3756, allocations: 327 kB / 0.5355 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/0.3757, allocations: 29.73 kB / 0.5355 GB, free: 9.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.181e-05/0.3758, allocations: 25.72 kB / 0.5355 GB, free: 9.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.3759, allocations: 56.61 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3759, allocations: 0 / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000226/0.3762, allocations: 112 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3762, allocations: 9.406 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3762, allocations: 0 / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3762, allocations: 1 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3763, allocations: 18.36 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3764, allocations: 3.938 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.3764, allocations: 7.109 kB / 0.5357 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.3764, allocations: 2.562 kB / 0.5357 GB, free: 9.086 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.0001116/0.3766, allocations: 124.2 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.3766, allocations: 17.19 kB / 0.5359 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.3769, allocations: 120.3 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3769, allocations: 0.9375 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.3769, allocations: 12.91 kB / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3769, allocations: 0 / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.3775, allocations: 406.7 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3775, allocations: 5.156 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.3776, allocations: 17.5 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3776, allocations: 5.109 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3776, allocations: 1.125 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.3776, allocations: 5.156 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3776, allocations: 1.094 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.3779, allocations: 204.2 kB / 0.5366 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.378, allocations: 91.27 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.378, allocations: 2.344 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.3781, allocations: 2.312 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.3781, allocations: 7.422 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.3781, allocations: 7.406 kB / 0.5367 GB, free: 8.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.3783, allocations: 162.5 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3783, allocations: 1.312 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.3786, allocations: 29.83 kB / 0.5369 GB, free: 8.035 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.002234/0.3808, allocations: 1.093 MB / 0.538 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.3811, allocations: 62.91 kB / 0.538 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3811, allocations: 0 / 0.538 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.3812, allocations: 37.84 kB / 0.5381 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3816, allocations: 25.62 kB / 0.5381 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.3836, allocations: 1.672 MB / 0.5397 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.384, allocations: 0.711 MB / 0.5404 GB, free: 4.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.891e-05/0.3841, allocations: 12.66 kB / 0.5404 GB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.3841, allocations: 32.86 kB / 0.5405 GB, free: 4.938 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3841, allocations: 1.062 kB / 0.5405 GB, free: 4.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.4105, allocations: 3.113 MB / 0.5435 GB, free: 3.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.51, allocations: 11.33 kB / 0.5435 GB, free: 3.242 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1)