Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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 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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.001178/0.001178, allocations: 104.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.09 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 79.81 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1177, allocations: 62.45 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003301/0.1211, allocations: 1.736 MB / 481.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1222, allocations: 0.5846 MB / 481.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.1223, allocations: 4 kB / 481.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.1226, allocations: 75.77 kB / 481.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.1229, allocations: 79.8 kB / 481.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.1234, allocations: 163.2 kB / 482 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.1236, allocations: 87.75 kB / 482.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1237, allocations: 24.22 kB / 482.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.482e-05/0.1238, allocations: 39.78 kB / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1239, allocations: 63.8 kB / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1239, allocations: 0 / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.124, allocations: 47.98 kB / 482.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.1241, allocations: 27.86 kB / 482.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.1242, allocations: 31.73 kB / 482.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.1244, allocations: 131.8 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1244, allocations: 0 / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1244, allocations: 0 / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.1245, allocations: 0 / 482.5 MB, free: 2.5 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.0006155/0.1251, allocations: 434.9 kB / 482.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1251, allocations: 8.875 kB / 482.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.1252, allocations: 38.75 kB / 482.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.1252, allocations: 12.75 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.1254, allocations: 204.6 kB / 483.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1255, allocations: 4.375 kB / 483.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.1255, allocations: 4.375 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1257, allocations: 69.55 kB / 483.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1257, allocations: 3.906 kB / 483.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1257, allocations: 15.92 kB / 483.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1257, allocations: 0 / 483.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.1259, allocations: 35.97 kB / 483.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.1263, allocations: 332.7 kB / 483.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.1266, allocations: 66.55 kB / 483.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.1267, allocations: 24.97 kB / 483.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1267, allocations: 0 / 483.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.1267, allocations: 30.56 kB / 483.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1267, allocations: 4 kB / 483.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001467/0.1282, allocations: 444.5 kB / 484.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1283, allocations: 51.41 kB / 484.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1285, allocations: 222.7 kB / 484.4 MB, free: 344 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1285, allocations: 25.7 kB / 484.5 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.1286, allocations: 116.1 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1286, allocations: 39.45 kB / 484.6 MB, free: 152 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.1287, allocations: 21.72 kB / 484.6 MB, free: 124 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1288, allocations: 326.8 kB / 484.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1289, allocations: 55.95 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1291, allocations: 56.45 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.1293, allocations: 128.8 kB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1293, allocations: 0 / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003249/0.1297, allocations: 169.4 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1297, allocations: 4 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1297, allocations: 4 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1297, allocations: 3.938 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1299, allocations: 31.92 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1299, allocations: 4 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.13, allocations: 11.98 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.13, allocations: 4 kB / 485.4 MB, free: 15.32 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 (11): * Single equations (assignments): 11 * 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.0001019/0.1301, allocations: 133.8 kB / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.1301, allocations: 15.81 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.1305, allocations: 195 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1306, allocations: 3.938 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1306, allocations: 0 / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1306, allocations: 4 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007117/0.1313, allocations: 0.5039 MB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1313, allocations: 0 / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.1314, allocations: 27.97 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1314, allocations: 0 / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1315, allocations: 4 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1315, allocations: 3.938 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1315, allocations: 3.938 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.1319, allocations: 281 kB / 486.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.1319, allocations: 89.02 kB / 486.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.132, allocations: 3.938 kB / 486.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1321, allocations: 15.98 kB / 486.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.1321, allocations: 11.98 kB / 486.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.1321, allocations: 4 kB / 486.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.1323, allocations: 176.2 kB / 486.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1323, allocations: 0 / 486.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1326, allocations: 28 kB / 486.9 MB, free: 13.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001638/0.1342, allocations: 1.157 MB / 488.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003357/0.1346, allocations: 127.8 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1346, allocations: 0 / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.1347, allocations: 67.89 kB / 488.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1351, allocations: 24.11 kB / 488.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.1379, allocations: 2.006 MB / 490.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.1383, allocations: 0.7239 MB / 491 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.1384, allocations: 28.52 kB / 491 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.329e-05/0.1385, allocations: 43.41 kB / 491.1 MB, free: 9.566 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1385, allocations: 4 kB / 491.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.154, allocations: 3.342 MB / 494.4 MB, free: 6.301 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.1543, allocations: 242.2 kB / 494.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.141, allocations: 3.75 kB / 494.7 MB, free: 6.039 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches