Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000911/0.0009108, allocations: 98.98 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 45.91 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 12 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.115, allocations: 63.46 MB / 481.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.001728/0.1168, allocations: 1.342 MB / 483 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007974/0.1176, allocations: 0.4915 MB / 483.5 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.1177, allocations: 0 / 483.5 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.1179, allocations: 43.83 kB / 483.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.1181, allocations: 51.83 kB / 483.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1184, allocations: 103.8 kB / 483.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.1185, allocations: 79.8 kB / 483.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.1186, allocations: 27.97 kB / 483.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.1187, allocations: 23.88 kB / 483.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.532e-05/0.1187, allocations: 35.77 kB / 483.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.1188, allocations: 4 kB / 483.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.972e-05/0.1189, allocations: 32 kB / 483.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.1189, allocations: 23.91 kB / 483.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.119, allocations: 37.64 kB / 483.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1191, allocations: 80.16 kB / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1191, allocations: 0 / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1191, allocations: 0 / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1191, allocations: 0 / 484 MB, free: 2.844 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004183/0.1195, allocations: 395 kB / 484.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1196, allocations: 12.02 kB / 484.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.1196, allocations: 34.56 kB / 484.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.1197, allocations: 7.906 kB / 484.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1199, allocations: 213.5 kB / 484.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1199, allocations: 4 kB / 484.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.1199, allocations: 11.94 kB / 484.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1201, allocations: 69.66 kB / 484.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1201, allocations: 8 kB / 484.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1201, allocations: 0 / 484.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1201, allocations: 0 / 484.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1202, allocations: 47.97 kB / 484.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.1207, allocations: 344.5 kB / 485.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.1208, allocations: 66.55 kB / 485.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.501e-05/0.1209, allocations: 24.84 kB / 485.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.1209, allocations: 4 kB / 485.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.121, allocations: 34.52 kB / 485.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.121, allocations: 4 kB / 485.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009728/0.1219, allocations: 357.5 kB / 485.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.122, allocations: 51.41 kB / 485.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.1222, allocations: 158.4 kB / 485.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1222, allocations: 29.7 kB / 485.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.1223, allocations: 108 kB / 485.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.1223, allocations: 39.44 kB / 486 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.1223, allocations: 4 kB / 486 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1224, allocations: 322.8 kB / 486.3 MB, free: 336 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.826e-05/0.1225, allocations: 47.97 kB / 486.3 MB, free: 288 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.924e-05/0.1226, allocations: 51.97 kB / 486.4 MB, free: 236 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.1227, allocations: 51.97 kB / 486.5 MB, free: 184 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1228, allocations: 0 / 486.5 MB, free: 184 kB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002756/0.123, allocations: 173.5 kB / 486.6 MB, free: 4 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.1231, allocations: 7.984 kB / 486.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1231, allocations: 0 / 486.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1231, allocations: 0 / 486.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1232, allocations: 27.94 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1232, allocations: 4.062 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.1233, allocations: 11.98 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1233, allocations: 4 kB / 486.7 MB, free: 15.95 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.701e-05/0.1234, allocations: 129.8 kB / 486.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.1234, allocations: 15.86 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.1238, allocations: 194.3 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1238, allocations: 4 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1238, allocations: 4 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1238, allocations: 0 / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005758/0.1244, allocations: 491.2 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1244, allocations: 4.031 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.531e-05/0.1245, allocations: 31.86 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1245, allocations: 7.938 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1245, allocations: 4 kB / 487.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1245, allocations: 3.984 kB / 487.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1245, allocations: 4 kB / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.1248, allocations: 263.2 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.1249, allocations: 85.02 kB / 487.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.1249, allocations: 11.97 kB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.125, allocations: 8 kB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.125, allocations: 7.984 kB / 487.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.1251, allocations: 8 kB / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.977e-05/0.1252, allocations: 127.4 kB / 488 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1252, allocations: 0 / 488 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1254, allocations: 32 kB / 488.1 MB, free: 14.44 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001516/0.127, allocations: 1.139 MB / 489.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.1273, allocations: 119.9 kB / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1273, allocations: 0 / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.1274, allocations: 63.97 kB / 489.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.1277, allocations: 19.98 kB / 489.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.129, allocations: 0.8055 MB / 490.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.1293, allocations: 0.7119 MB / 490.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.892e-05/0.1294, allocations: 28.53 kB / 491 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.1295, allocations: 39.42 kB / 491 MB, free: 11.57 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1295, allocations: 0 / 491 MB, free: 11.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.1434, allocations: 2.809 MB / 493.8 MB, free: 8.879 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.1436, allocations: 214.8 kB / 494 MB, free: 8.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.011, allocations: 4.062 kB / 494 MB, free: 8.637 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat does not exist to compare? outputFormat=mat