Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 116.2 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 205.8 kB / 18.27 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.349/1.349, allocations: 227.4 MB / 246.4 MB, free: 10.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2507/0.2507, allocations: 46.1 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 70.31 kB / 417.2 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1129, allocations: 62.44 MB / 479.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003634/0.1165, allocations: 1.732 MB / 481.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.1176, allocations: 0.569 MB / 481.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.1176, allocations: 0 / 481.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.1182, allocations: 463.1 kB / 482.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004316/0.1187, allocations: 287.5 kB / 482.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.1191, allocations: 151.1 kB / 482.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.1194, allocations: 183.6 kB / 483 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1195, allocations: 24.16 kB / 483 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.1197, allocations: 115.7 kB / 483.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.1199, allocations: 227.5 kB / 483.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.12, allocations: 4 kB / 483.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1201, allocations: 47.98 kB / 483.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1202, allocations: 91.61 kB / 483.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.08e-05/0.1203, allocations: 110.9 kB / 483.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.1206, allocations: 275.2 kB / 483.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1207, allocations: 0 / 483.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1207, allocations: 0 / 483.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.1207, allocations: 0 / 483.8 MB, free: 1.281 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007736/0.1215, allocations: 0.6595 MB / 484.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1215, allocations: 8.031 kB / 484.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.1216, allocations: 34.75 kB / 484.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.446e-05/0.1216, allocations: 48.36 kB / 484.6 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.1219, allocations: 304.1 kB / 484.9 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.122, allocations: 8.375 kB / 484.9 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.122, allocations: 384 / 484.9 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1222, allocations: 65.61 kB / 484.9 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1222, allocations: 0 / 484.9 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1222, allocations: 0 / 484.9 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1222, allocations: 4 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1224, allocations: 35.97 kB / 485 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.123, allocations: 412.6 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1231, allocations: 46.66 kB / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.032e-05/0.1232, allocations: 28.88 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1232, allocations: 0 / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1232, allocations: 30.56 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.1233, allocations: 0 / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001173/0.1244, allocations: 328 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.1245, allocations: 59.34 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.1255, allocations: 0.8815 MB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.1256, allocations: 25.7 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.1258, allocations: 224.1 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.1258, allocations: 23.64 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.1259, allocations: 25.72 kB / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.1261, allocations: 366.7 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1262, allocations: 31.98 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.786e-05/0.1264, allocations: 36.03 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.1265, allocations: 76.75 kB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1265, allocations: 3.938 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003119/0.1269, allocations: 149.1 kB / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.1269, allocations: 10.34 kB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1269, allocations: 0 / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.127, allocations: 4 kB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1271, allocations: 19.92 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1271, allocations: 0 / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.1272, allocations: 4 kB / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1272, allocations: 4 kB / 487.7 MB, free: 13.14 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.0002231/0.1274, allocations: 221.7 kB / 488 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.1275, allocations: 47.44 kB / 488 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/0.128, allocations: 169.5 kB / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.128, allocations: 7.938 kB / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.128, allocations: 0 / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.128, allocations: 0 / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007878/0.1288, allocations: 0.5226 MB / 488.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1288, allocations: 4 kB / 488.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.449e-05/0.1289, allocations: 19.92 kB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1289, allocations: 0 / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1289, allocations: 4 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1289, allocations: 0 / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1289, allocations: 4 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.1293, allocations: 252.2 kB / 489 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.624e-05/0.1294, allocations: 116.5 kB / 489.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1294, allocations: 3.984 kB / 489.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.1295, allocations: 4 kB / 489.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.1296, allocations: 11.98 kB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1296, allocations: 4 kB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006207/0.1302, allocations: 0.6628 MB / 489.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.1302, allocations: 0 / 489.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.1305, allocations: 31.94 kB / 489.8 MB, free: 10.96 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.001785/0.1323, allocations: 1.138 MB / 490.9 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003014/0.1326, allocations: 79.89 kB / 491 MB, free: 9.879 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1326, allocations: 4 kB / 491 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1328, allocations: 43.91 kB / 491.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.1332, allocations: 22.31 kB / 491.1 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.1376, allocations: 3.486 MB / 494.6 MB, free: 6.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.1381, allocations: 0.8304 MB / 495.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.484e-05/0.1382, allocations: 24.72 kB / 495.4 MB, free: 5.348 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.1384, allocations: 131.2 kB / 495.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1384, allocations: 0 / 495.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.1576, allocations: 6.202 MB / 0.49 GB, free: 15.1 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002922/0.1579, allocations: 237.7 kB / 0.4902 GB, free: 14.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.139/2.297, allocations: 0 / 0.4902 GB, free: 14.84 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches