Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001587/0.001586, allocations: 104.1 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.001768/0.001768, 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.553/1.553, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2349/0.2349, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002235/0.002235, allocations: 82.56 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.116, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.00297/0.119, allocations: 1.62 MB / 481.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009254/0.12, allocations: 0.5338 MB / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.12, allocations: 0 / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.1203, allocations: 79.7 kB / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.1206, allocations: 99.64 kB / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.1208, allocations: 99.69 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.1209, allocations: 75.83 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.1211, allocations: 19.97 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.096e-05/0.1211, allocations: 31.86 kB / 482.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1212, allocations: 59.81 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.1212, allocations: 4 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.27e-05/0.1213, allocations: 47.98 kB / 482.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.1214, allocations: 23.91 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.1214, allocations: 31.75 kB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.1216, allocations: 104 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1216, allocations: 3.938 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1216, allocations: 0 / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1216, allocations: 3.938 kB / 483 MB, free: 2.305 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.00046/0.1221, allocations: 414.9 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1222, allocations: 12.03 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.1222, allocations: 34.75 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.1222, allocations: 8.844 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.1224, allocations: 196.8 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1224, allocations: 4.375 kB / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.1225, allocations: 4.375 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.1226, allocations: 61.53 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1226, allocations: 11.84 kB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.1226, allocations: 0 / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1226, allocations: 0 / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.377e-05/0.1227, allocations: 27.98 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.1231, allocations: 292.8 kB / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.1232, allocations: 42.5 kB / 484.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.1233, allocations: 20.94 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1233, allocations: 8 kB / 484.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1233, allocations: 30.56 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1233, allocations: 0 / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008186/0.1242, allocations: 229.3 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.1242, allocations: 59.39 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.1244, allocations: 218.3 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1245, allocations: 29.7 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.1245, allocations: 104.1 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.1246, allocations: 27.62 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.1246, allocations: 21.7 kB / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1247, allocations: 326.8 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.1248, allocations: 27.98 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.928e-05/0.1249, allocations: 19.98 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.1251, allocations: 65 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1251, allocations: 0 / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000216/0.1253, allocations: 105.5 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1253, allocations: 4 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1253, allocations: 0 / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1253, allocations: 4 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.1254, allocations: 19.98 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1254, allocations: 3.938 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.1255, allocations: 8 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1255, allocations: 3.938 kB / 485.4 MB, free: 15.67 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 9.375e-05/0.1256, allocations: 125.8 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.1256, allocations: 11.81 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.1259, allocations: 127 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1259, allocations: 4 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/0.1259, allocations: 7.938 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.126, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.1265, allocations: 399.3 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1265, allocations: 4.031 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-05/0.1265, allocations: 27.86 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1266, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1266, allocations: 4 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1266, allocations: 3.938 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1266, allocations: 4 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.1268, allocations: 204.2 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.1269, allocations: 88.94 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.1269, allocations: 7.938 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.127, allocations: 8 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.127, allocations: 7.922 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.1271, allocations: 4 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.1272, allocations: 160.2 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1272, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1275, allocations: 16 kB / 486.6 MB, free: 14.37 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.002059/0.1295, allocations: 1.084 MB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.1298, allocations: 71.88 kB / 487.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1298, allocations: 0 / 487.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.1299, allocations: 39.92 kB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.1303, allocations: 31.39 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.1324, allocations: 1.65 MB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.1329, allocations: 0.708 MB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.018e-05/0.133, allocations: 12.97 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.133, allocations: 39.42 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1331, allocations: 4 kB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.1616, allocations: 3.028 MB / 493.3 MB, free: 7.805 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.14, allocations: 8.109 kB / 493.3 MB, free: 7.801 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1)