Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007832/0.0007833, allocations: 92.83 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008984/0.0008983, allocations: 198.4 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1968/0.1968, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002423/0.0002424, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1175, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.00195/0.1195, allocations: 1.318 MB / 484.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009034/0.1204, allocations: 0.5185 MB / 485 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.1205, allocations: 0 / 485 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.1207, allocations: 23.86 kB / 485 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.1209, allocations: 63.77 kB / 485.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.1212, allocations: 107.4 kB / 485.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.1213, allocations: 59.84 kB / 485.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.1214, allocations: 19.97 kB / 485.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.95e-05/0.1214, allocations: 15.88 kB / 485.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.1215, allocations: 19.86 kB / 485.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.1215, allocations: 4 kB / 485.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.743e-05/0.1216, allocations: 23.98 kB / 485.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.1216, allocations: 7.984 kB / 485.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.749e-05/0.1217, allocations: 53.52 kB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.1219, allocations: 80 kB / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1219, allocations: 0 / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1219, allocations: 0 / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1219, allocations: 0 / 485.5 MB, free: 1.742 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.0004151/0.1223, allocations: 379.2 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1223, allocations: 8.875 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.1224, allocations: 38.75 kB / 485.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.1224, allocations: 8.844 kB / 485.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.1226, allocations: 196.2 kB / 486.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.1226, allocations: 384 / 486.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.1227, allocations: 4.312 kB / 486.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.1228, allocations: 61.55 kB / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1228, allocations: 0 / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1228, allocations: 0 / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1229, allocations: 0 / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.746e-05/0.123, allocations: 31.98 kB / 486.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.1233, allocations: 284.9 kB / 486.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1235, allocations: 46.5 kB / 486.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.1236, allocations: 24.94 kB / 486.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.1236, allocations: 0 / 486.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.1237, allocations: 30.56 kB / 486.6 MB, free: 492 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1237, allocations: 4 kB / 486.6 MB, free: 488 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005705/0.1242, allocations: 173.4 kB / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.1243, allocations: 51.41 kB / 486.8 MB, free: 244 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1244, allocations: 150.2 kB / 486.9 MB, free: 80 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.1244, allocations: 25.7 kB / 487 MB, free: 48 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.1245, allocations: 100.1 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.1245, allocations: 11.72 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.1246, allocations: 17.72 kB / 487.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1247, allocations: 322.8 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.1248, allocations: 19.98 kB / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.1249, allocations: 31.97 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1251, allocations: 60.83 kB / 487.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1251, allocations: 7.875 kB / 487.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001966/0.1253, allocations: 93.67 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1253, allocations: 4 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1253, allocations: 4.234 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1253, allocations: 3.984 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.1254, allocations: 16 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1254, allocations: 4 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.1254, allocations: 11.92 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1255, allocations: 7.938 kB / 487.7 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 (5): * Single equations (assignments): 5 * 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.424e-05/0.1256, allocations: 117.8 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.1256, allocations: 7.906 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.1258, allocations: 113.9 kB / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1258, allocations: 0 / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1259, allocations: 0 / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1259, allocations: 4 kB / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.1263, allocations: 366.4 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1263, allocations: 4 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.1264, allocations: 11.98 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1264, allocations: 8 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.1264, allocations: 3.938 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1264, allocations: 3.938 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1264, allocations: 0 / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.1267, allocations: 191.4 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.1267, allocations: 89 kB / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1268, allocations: 4 kB / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.1268, allocations: 7.938 kB / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.1269, allocations: 0 / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1269, allocations: 8.172 kB / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.604e-05/0.127, allocations: 113.5 kB / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.127, allocations: 3.938 kB / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1272, allocations: 19.98 kB / 488.7 MB, free: 14.16 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 (5): * Single equations (assignments): 5 * 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.001263/0.1285, allocations: 1.006 MB / 489.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.1287, allocations: 63.89 kB / 489.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1287, allocations: 0 / 489.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/0.1288, allocations: 31.98 kB / 489.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.1291, allocations: 23.92 kB / 489.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.1308, allocations: 1.503 MB / 491.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.131, allocations: 0.6926 MB / 492 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.106e-05/0.1311, allocations: 15.98 kB / 492.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.1312, allocations: 31.42 kB / 492.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1312, allocations: 0 / 492.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.1431, allocations: 2.155 MB / 494.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.1433, allocations: 240.2 kB / 494.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.883, allocations: 0 / 494.5 MB, free: 8.488 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches