Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 115.7 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 201.2 kB / 18.73 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247 MB, free: 10.41 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.2308/0.2308, allocations: 46.12 MB / 344.3 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.002226/0.002226, allocations: 79.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3343, allocations: 62.44 MB / 0.5306 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003426/0.3378, allocations: 1.596 MB / 0.5322 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3389, allocations: 0.546 MB / 0.5327 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.3389, allocations: 1.656 kB / 0.5327 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.3392, allocations: 27.28 kB / 0.5327 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.3395, allocations: 80.41 kB / 0.5328 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.3398, allocations: 111.4 kB / 0.5329 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.34, allocations: 61.61 kB / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.07e-05/0.3401, allocations: 19.23 kB / 0.533 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.858e-05/0.3401, allocations: 28.83 kB / 0.533 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.3402, allocations: 18.97 kB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3402, allocations: 1.844 kB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.533e-05/0.3403, allocations: 38.06 kB / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.3403, allocations: 16.08 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.3404, allocations: 24.12 kB / 0.5331 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.3406, allocations: 86.27 kB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3406, allocations: 0 / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3406, allocations: 6.031 kB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3406, allocations: 0 / 0.5332 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004845/0.3411, allocations: 398.2 kB / 0.5336 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3411, allocations: 9.812 kB / 0.5336 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.3412, allocations: 34.75 kB / 0.5336 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.3412, allocations: 13.62 kB / 0.5336 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.3414, allocations: 197.4 kB / 0.5338 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3414, allocations: 5.5 kB / 0.5338 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3415, allocations: 1.375 kB / 0.5338 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.3416, allocations: 44.69 kB / 0.5339 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3416, allocations: 4 kB / 0.5339 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3416, allocations: 7.984 kB / 0.5339 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3417, allocations: 5.312 kB / 0.5339 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.089e-05/0.3417, allocations: 29.66 kB / 0.5339 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.3421, allocations: 281.6 kB / 0.5342 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.3424, allocations: 48.42 kB / 0.5342 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.3424, allocations: 17.2 kB / 0.5343 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3424, allocations: 7.922 kB / 0.5343 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.3425, allocations: 31.94 kB / 0.5343 GB, free: 10.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.3425, allocations: 0 / 0.5343 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005821/0.3431, allocations: 155.4 kB / 0.5344 GB, free: 10.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.3431, allocations: 56.78 kB / 0.5345 GB, free: 9.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.3433, allocations: 178.5 kB / 0.5347 GB, free: 9.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3433, allocations: 27.08 kB / 0.5347 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.3434, allocations: 100.2 kB / 0.5348 GB, free: 9.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.3435, allocations: 18.59 kB / 0.5348 GB, free: 9.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.3435, allocations: 13.84 kB / 0.5348 GB, free: 9.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3436, allocations: 321.6 kB / 0.5351 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.3437, allocations: 22.98 kB / 0.5352 GB, free: 9.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.3438, allocations: 24.34 kB / 0.5352 GB, free: 9.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.344, allocations: 52.52 kB / 0.5352 GB, free: 9.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.344, allocations: 4 kB / 0.5352 GB, free: 9.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000199/0.3442, allocations: 91.89 kB / 0.5353 GB, free: 9.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3442, allocations: 9.484 kB / 0.5353 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3442, allocations: 4 kB / 0.5353 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3443, allocations: 0 / 0.5353 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.3443, allocations: 9.625 kB / 0.5353 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3443, allocations: 5.312 kB / 0.5353 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.109e-05/0.3444, allocations: 6.734 kB / 0.5354 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.3444, allocations: 1.375 kB / 0.5354 GB, free: 9.207 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.214e-05/0.3445, allocations: 120.7 kB / 0.5355 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.3445, allocations: 13.44 kB / 0.5355 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.3448, allocations: 101.1 kB / 0.5356 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3448, allocations: 0 / 0.5356 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3448, allocations: 5.438 kB / 0.5356 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3448, allocations: 0 / 0.5356 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.3453, allocations: 353.3 kB / 0.5359 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3453, allocations: 0 / 0.5359 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.464e-05/0.3453, allocations: 9.875 kB / 0.5359 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.3454, allocations: 9.25 kB / 0.5359 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3454, allocations: 3.984 kB / 0.5359 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3454, allocations: 9.234 kB / 0.5359 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3454, allocations: 0 / 0.5359 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.3457, allocations: 183.9 kB / 0.5361 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.3457, allocations: 90.11 kB / 0.5362 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3457, allocations: 9.094 kB / 0.5362 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.3458, allocations: 7.844 kB / 0.5362 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.3459, allocations: 5.203 kB / 0.5362 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.3459, allocations: 2.531 kB / 0.5362 GB, free: 8.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.346, allocations: 136.4 kB / 0.5364 GB, free: 8.254 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.954e-06/0.346, allocations: 0 / 0.5364 GB, free: 8.254 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.3462, allocations: 22.38 kB / 0.5364 GB, free: 8.242 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.001909/0.3482, allocations: 1.018 MB / 0.5374 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.3484, allocations: 54.83 kB / 0.5374 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3484, allocations: 1.094 kB / 0.5374 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.507e-05/0.3485, allocations: 28.2 kB / 0.5375 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.3489, allocations: 22.05 kB / 0.5375 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.3507, allocations: 1.514 MB / 0.539 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.3511, allocations: 0.6946 MB / 0.5396 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.3512, allocations: 15.7 kB / 0.5397 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.3512, allocations: 28.92 kB / 0.5397 GB, free: 5.289 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3512, allocations: 3.938 kB / 0.5397 GB, free: 5.285 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.3745, allocations: 2.694 MB / 0.5423 GB, free: 3.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.451, allocations: 13.83 kB / 0.5423 GB, free: 3.777 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1)