Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, allocations: 105.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0019/0.0019, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2205/0.2205, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002225/0.002225, allocations: 88.44 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.11, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003313/0.1134, allocations: 1.612 MB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1145, allocations: 0.5455 MB / 482.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-05/0.1145, allocations: 0 / 482.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.1149, allocations: 75.77 kB / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.1152, allocations: 111.5 kB / 482.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.1156, allocations: 118.7 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1158, allocations: 71.89 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1159, allocations: 23.97 kB / 482.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.293e-05/0.116, allocations: 39.78 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1161, allocations: 59.81 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1161, allocations: 8 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.802e-05/0.1162, allocations: 43.98 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.1163, allocations: 19.92 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.1163, allocations: 31.73 kB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1165, allocations: 108 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1165, allocations: 0 / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.224e-06/0.1165, allocations: 0 / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.1166, allocations: 3.938 kB / 483.1 MB, free: 2.246 MB / 350.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.0005118/0.1171, allocations: 410.9 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1171, allocations: 12.03 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.1172, allocations: 34.75 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.1172, allocations: 8.844 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.1174, allocations: 196.8 kB / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.1174, allocations: 384 / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.1175, allocations: 8.375 kB / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1176, allocations: 57.59 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1176, allocations: 3.906 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1176, allocations: 8 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1177, allocations: 0 / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1178, allocations: 35.91 kB / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.1182, allocations: 300.8 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.1183, allocations: 42.56 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.1184, allocations: 20.94 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1184, allocations: 4 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1184, allocations: 38.5 kB / 484.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1184, allocations: 0 / 484.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009039/0.1193, allocations: 237 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.1194, allocations: 51.41 kB / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.1196, allocations: 218.2 kB / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1197, allocations: 25.7 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.1197, allocations: 112.1 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.1198, allocations: 35.67 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.1198, allocations: 17.72 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.12, allocations: 322.8 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.033e-05/0.1201, allocations: 35.97 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.378e-05/0.1202, allocations: 27.98 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.1203, allocations: 80.75 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1203, allocations: 3.938 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002281/0.1206, allocations: 109.8 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1206, allocations: 4 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1206, allocations: 8 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1206, allocations: 0 / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1207, allocations: 19.98 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1207, allocations: 3.938 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.1208, allocations: 7.984 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.1208, allocations: 4 kB / 485.5 MB, free: 15.55 MB / 366.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.0001031/0.1209, allocations: 129.8 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.121, allocations: 11.81 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.1213, allocations: 139.4 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1213, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1213, allocations: 3.938 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1213, allocations: 7.984 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.1219, allocations: 423.3 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1219, allocations: 3.984 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.122, allocations: 15.94 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.122, allocations: 4 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.122, allocations: 7.984 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.122, allocations: 3.938 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.122, allocations: 0 / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.1223, allocations: 216.2 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.1224, allocations: 84.95 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1224, allocations: 7.984 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.1225, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.1225, allocations: 7.938 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.1225, allocations: 7.984 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1227, allocations: 164.2 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1227, allocations: 0 / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1229, allocations: 24 kB / 486.8 MB, free: 14.21 MB / 366.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.002297/0.1252, allocations: 1.099 MB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.1255, allocations: 75.89 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1255, allocations: 0 / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.1257, allocations: 51.95 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1261, allocations: 25.17 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.1283, allocations: 1.693 MB / 489.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1287, allocations: 0.7157 MB / 490.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.105e-05/0.1288, allocations: 16.97 kB / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.269e-05/0.1288, allocations: 39.42 kB / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1288, allocations: 0 / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.1531, allocations: 3.081 MB / 493.5 MB, free: 7.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.226, allocations: 9.078 kB / 493.6 MB, free: 7.508 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1)