Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 92.97 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001492, allocations: 202.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002635, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1104, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002105/0.1125, allocations: 1.322 MB / 484.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1137, allocations: 0.5457 MB / 485 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.1138, allocations: 0 / 485 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.1141, allocations: 19.92 kB / 485.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.1143, allocations: 67.81 kB / 485.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.1147, allocations: 99.31 kB / 485.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.1148, allocations: 59.84 kB / 485.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.591e-05/0.1149, allocations: 15.98 kB / 485.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.056e-05/0.115, allocations: 27.8 kB / 485.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.586e-05/0.1151, allocations: 31.84 kB / 485.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1151, allocations: 4 kB / 485.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.1153, allocations: 91.94 kB / 485.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.1153, allocations: 19.86 kB / 485.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.1154, allocations: 45.56 kB / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.1156, allocations: 139.9 kB / 485.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1156, allocations: 0 / 485.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1156, allocations: 4 kB / 485.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1157, allocations: 0 / 485.7 MB, free: 1.566 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004861/0.1161, allocations: 393.5 kB / 486 MB, free: 1.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1162, allocations: 12.88 kB / 486.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.1162, allocations: 30.75 kB / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.1163, allocations: 8.844 kB / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.1165, allocations: 198.5 kB / 486.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1165, allocations: 8.312 kB / 486.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1165, allocations: 384 / 486.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1167, allocations: 71.33 kB / 486.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1167, allocations: 11.89 kB / 486.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1167, allocations: 0 / 486.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1167, allocations: 0 / 486.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.1168, allocations: 31.92 kB / 486.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.1173, allocations: 300.8 kB / 486.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.1174, allocations: 50.55 kB / 486.7 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.2e-05/0.1175, allocations: 28.94 kB / 486.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1175, allocations: 0 / 486.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.1175, allocations: 34.5 kB / 486.8 MB, free: 244 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.1175, allocations: 4 kB / 486.8 MB, free: 240 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006382/0.1182, allocations: 205.2 kB / 487 MB, free: 28 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.1182, allocations: 81.05 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.1184, allocations: 141.8 kB / 487.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1184, allocations: 29.7 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.1184, allocations: 96.12 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.1185, allocations: 19.66 kB / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.1185, allocations: 17.72 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1186, allocations: 322.8 kB / 487.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-05/0.1187, allocations: 35.97 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.02e-05/0.1188, allocations: 49.69 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.119, allocations: 77.09 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.119, allocations: 0 / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002218/0.1192, allocations: 125.5 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1192, allocations: 8 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1193, allocations: 0 / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1193, allocations: 0 / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.1194, allocations: 23.98 kB / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1194, allocations: 0 / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.1194, allocations: 7.938 kB / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1195, allocations: 4 kB / 488 MB, free: 14.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 7.957e-05/0.1195, allocations: 117.8 kB / 488.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.1196, allocations: 7.906 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.1198, allocations: 126.3 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1199, allocations: 7.938 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1199, allocations: 0 / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1199, allocations: 3.938 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.1203, allocations: 410.3 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1204, allocations: 4 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.397e-05/0.1204, allocations: 12 kB / 488.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.1205, allocations: 7.938 kB / 488.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1205, allocations: 3.984 kB / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1205, allocations: 0 / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1205, allocations: 4 kB / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1207, allocations: 203.4 kB / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.1208, allocations: 89 kB / 489 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.1208, allocations: 11.88 kB / 489 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.1209, allocations: 8 kB / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.1209, allocations: 11.98 kB / 489 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1209, allocations: 0 / 489 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.314e-05/0.121, allocations: 113.3 kB / 489.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.121, allocations: 0 / 489.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1213, allocations: 43.98 kB / 489.2 MB, free: 13.68 MB / 366.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 (7): * Single equations (assignments): 7 * 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.001446/0.1228, allocations: 1.13 MB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.123, allocations: 87.86 kB / 490.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.123, allocations: 0 / 490.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.717e-05/0.1231, allocations: 39.98 kB / 490.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.1234, allocations: 19.86 kB / 490.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.125, allocations: 1.565 MB / 492 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1252, allocations: 0.7043 MB / 492.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.133e-05/0.1253, allocations: 21.11 kB / 492.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.1254, allocations: 27.42 kB / 492.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1254, allocations: 4 kB / 492.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.1375, allocations: 3.058 MB / 495.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.1377, allocations: 252.1 kB / 496.1 MB, free: 6.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/1.916, allocations: 0 / 496.1 MB, free: 6.926 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches