Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007376/0.0007378, allocations: 93.88 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.0008653/0.0008656, allocations: 202.9 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.321/1.321, allocations: 227.7 MB / 246.8 MB, free: 11.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2051/0.2051, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002993, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1157, allocations: 63.56 MB / 483.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.001721/0.1174, allocations: 1.33 MB / 484.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009138/0.1184, allocations: 0.5418 MB / 485 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.1184, allocations: 4 kB / 485.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.1187, allocations: 115.8 kB / 485.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.119, allocations: 115.7 kB / 485.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.1193, allocations: 95.33 kB / 485.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1195, allocations: 91.86 kB / 485.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1196, allocations: 19.98 kB / 485.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.1197, allocations: 43.77 kB / 485.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1198, allocations: 75.8 kB / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1198, allocations: 0 / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-05/0.1199, allocations: 51.97 kB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.12, allocations: 31.84 kB / 485.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.1201, allocations: 57.39 kB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.1202, allocations: 111.9 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1202, allocations: 0 / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1202, allocations: 0 / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.1202, allocations: 0 / 485.8 MB, free: 1.395 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.0004275/0.1207, allocations: 422.8 kB / 486.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1207, allocations: 8.875 kB / 486.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.1208, allocations: 38.75 kB / 486.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.1208, allocations: 20.75 kB / 486.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.121, allocations: 211.9 kB / 486.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.121, allocations: 384 / 486.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.121, allocations: 4.375 kB / 486.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.1211, allocations: 57.61 kB / 486.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1212, allocations: 4 kB / 486.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1212, allocations: 0 / 486.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1212, allocations: 0 / 486.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1213, allocations: 43.91 kB / 486.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.1217, allocations: 316.7 kB / 486.9 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.804e-05/0.1218, allocations: 50.5 kB / 487 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.1219, allocations: 24.94 kB / 487 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.1219, allocations: 0 / 487 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1219, allocations: 34.56 kB / 487.1 MB, free: 12 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1219, allocations: 0 / 487.1 MB, free: 12 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009367/0.1229, allocations: 281.2 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.1229, allocations: 51.41 kB / 487.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.1232, allocations: 283.7 kB / 487.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1232, allocations: 29.7 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.1233, allocations: 120 kB / 487.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.1233, allocations: 19.8 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.1233, allocations: 9.719 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1234, allocations: 338.8 kB / 488.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.473e-05/0.1235, allocations: 35.97 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.606e-05/0.1236, allocations: 31.97 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.1238, allocations: 88.98 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1238, allocations: 0 / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002355/0.1241, allocations: 125.5 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1241, allocations: 4 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1241, allocations: 0 / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1241, allocations: 8 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.1242, allocations: 19.98 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1242, allocations: 3.938 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.1243, allocations: 7.938 kB / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.1243, allocations: 4 kB / 488.5 MB, free: 14.52 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 9.814e-05/0.1244, allocations: 137.8 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.1244, allocations: 11.81 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.1247, allocations: 147 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1248, allocations: 0 / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1248, allocations: 3.938 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1248, allocations: 3.938 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.1253, allocations: 439.3 kB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1253, allocations: 0 / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.936e-05/0.1254, allocations: 27.86 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1254, allocations: 4 kB / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1254, allocations: 4.031 kB / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.1254, allocations: 4 kB / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1254, allocations: 0 / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.1257, allocations: 228.2 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.1258, allocations: 100.8 kB / 489.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.1258, allocations: 0 / 489.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.1259, allocations: 7.938 kB / 489.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.1259, allocations: 7.984 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1259, allocations: 4 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.1261, allocations: 213.5 kB / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1261, allocations: 3.938 kB / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1263, allocations: 28 kB / 489.8 MB, free: 13.06 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.001433/0.1278, allocations: 1.101 MB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.128, allocations: 87.89 kB / 491 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.128, allocations: 0 / 491 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.847e-05/0.1281, allocations: 39.98 kB / 491.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.1285, allocations: 15.92 kB / 491.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.1304, allocations: 1.898 MB / 493 MB, free: 9.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.1307, allocations: 0.7257 MB / 493.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.681e-05/0.1308, allocations: 24.94 kB / 493.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.1309, allocations: 39.42 kB / 493.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1309, allocations: 0 / 493.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.1441, allocations: 2.993 MB / 496.8 MB, free: 6.266 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.1443, allocations: 232 kB / 497 MB, free: 6.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/1.962, allocations: 0 / 497 MB, free: 6.012 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches