Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001193/0.001193, allocations: 110.4 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 77.56 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1033, allocations: 62.44 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002592/0.1059, allocations: 1.683 MB / 481.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008015/0.1067, allocations: 0.5261 MB / 481.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.1068, allocations: 0 / 481.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.1071, allocations: 99.73 kB / 481.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.1073, allocations: 91.78 kB / 482 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.1075, allocations: 83.09 kB / 482.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.1077, allocations: 83.8 kB / 482.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.925e-05/0.1078, allocations: 16 kB / 482.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.1078, allocations: 39.84 kB / 482.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.936e-05/0.1079, allocations: 55.81 kB / 482.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.108, allocations: 4 kB / 482.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.214e-05/0.108, allocations: 43.98 kB / 482.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.1081, allocations: 27.84 kB / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.1081, allocations: 39.69 kB / 482.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.1083, allocations: 108 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1083, allocations: 0 / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1083, allocations: 4 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1083, allocations: 0 / 482.5 MB, free: 2.613 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.0004215/0.1088, allocations: 422.8 kB / 482.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1088, allocations: 8.031 kB / 482.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.1088, allocations: 34.75 kB / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.1089, allocations: 12.75 kB / 483 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.109, allocations: 204.6 kB / 483.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-06/0.1091, allocations: 4.375 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1091, allocations: 4.375 kB / 483.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.1092, allocations: 57.61 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1092, allocations: 4 kB / 483.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1092, allocations: 7.984 kB / 483.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.1093, allocations: 0 / 483.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/0.1093, allocations: 23.98 kB / 483.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.1097, allocations: 300.7 kB / 483.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.027e-05/0.1098, allocations: 46.56 kB / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.1098, allocations: 16.94 kB / 483.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1099, allocations: 4 kB / 483.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.1099, allocations: 34.56 kB / 483.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1099, allocations: 0 / 483.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000782/0.1107, allocations: 229 kB / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1107, allocations: 63.34 kB / 483.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.1109, allocations: 230.6 kB / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1109, allocations: 29.7 kB / 484.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.111, allocations: 104.1 kB / 484.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.111, allocations: 31.56 kB / 484.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.1111, allocations: 25.7 kB / 484.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.1112, allocations: 330.8 kB / 484.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.028e-05/0.1112, allocations: 19.98 kB / 484.7 MB, free: 192 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.36e-05/0.1113, allocations: 23.98 kB / 484.7 MB, free: 168 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.1114, allocations: 56.83 kB / 484.8 MB, free: 108 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1115, allocations: 4 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001954/0.1117, allocations: 109.5 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1117, allocations: 4 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1117, allocations: 7.938 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1117, allocations: 0 / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.1118, allocations: 15.94 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1118, allocations: 3.938 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.1119, allocations: 8 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1119, allocations: 8 kB / 484.9 MB, free: 15.94 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 8.321e-05/0.112, allocations: 125.8 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.112, allocations: 11.81 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.1123, allocations: 123 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1123, allocations: 0 / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1123, allocations: 3.938 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1123, allocations: 0 / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/0.1127, allocations: 419.6 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1127, allocations: 4 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/0.1128, allocations: 19.92 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1128, allocations: 0 / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.1128, allocations: 4 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1128, allocations: 0 / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1129, allocations: 4.031 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.1131, allocations: 200.2 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.1131, allocations: 93.28 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.1132, allocations: 8 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.1132, allocations: 7.984 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.1133, allocations: 8 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.1133, allocations: 4 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.1134, allocations: 180.3 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1134, allocations: 0 / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1137, allocations: 20 kB / 486.1 MB, free: 14.62 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.001301/0.115, allocations: 1.088 MB / 487.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.1152, allocations: 71.95 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1152, allocations: 0 / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.964e-05/0.1153, allocations: 31.92 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1156, allocations: 19.98 kB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.1173, allocations: 1.735 MB / 489.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.1175, allocations: 0.7137 MB / 489.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.068e-05/0.1176, allocations: 16.95 kB / 489.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.1176, allocations: 35.42 kB / 489.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1176, allocations: 3.938 kB / 489.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7694/0.887, allocations: 2.991 MB / 492.8 MB, free: 8.027 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.8873, allocations: 241.4 kB / 493.1 MB, free: 7.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.622, allocations: 0 / 493.1 MB, free: 7.766 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches