Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.0008971/0.0008973, allocations: 92.11 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.0009028/0.0009028, allocations: 201.8 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.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2017/0.2017, allocations: 46.19 MB / 345.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000231/0.000231, allocations: 11.98 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1135, allocations: 63.56 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001966/0.1156, allocations: 1.314 MB / 484.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009647/0.1165, allocations: 0.5068 MB / 485 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.1166, allocations: 4 kB / 485 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.1169, allocations: 23.84 kB / 485 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1171, allocations: 67.77 kB / 485.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.1174, allocations: 79.84 kB / 485.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1176, allocations: 59.83 kB / 485.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1178, allocations: 12 kB / 485.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.806e-05/0.1179, allocations: 23.84 kB / 485.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.1179, allocations: 15.88 kB / 485.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.118, allocations: 4 kB / 485.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1181, allocations: 27.98 kB / 485.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.538e-05/0.1182, allocations: 15.98 kB / 485.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.1182, allocations: 49.5 kB / 485.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1185, allocations: 76 kB / 485.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1185, allocations: 0 / 485.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1185, allocations: 0 / 485.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1185, allocations: 3.938 kB / 485.5 MB, free: 1.754 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.0007048/0.1192, allocations: 375.2 kB / 485.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.206e-05/0.1193, allocations: 8.875 kB / 485.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.754e-05/0.1194, allocations: 34.75 kB / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.1194, allocations: 16.83 kB / 485.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.1197, allocations: 188.2 kB / 486.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1197, allocations: 4.375 kB / 486.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1198, allocations: 384 / 486.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.12, allocations: 57.55 kB / 486.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.12, allocations: 0 / 486.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.12, allocations: 4 kB / 486.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.12, allocations: 4 kB / 486.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.1201, allocations: 27.98 kB / 486.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.1206, allocations: 272.9 kB / 486.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.1208, allocations: 46.5 kB / 486.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.026e-05/0.1209, allocations: 20.94 kB / 486.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.121, allocations: 4 kB / 486.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.121, allocations: 34.56 kB / 486.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.121, allocations: 0 / 486.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006373/0.1216, allocations: 165.2 kB / 486.7 MB, free: 348 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.1217, allocations: 51.41 kB / 486.7 MB, free: 284 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1218, allocations: 152.7 kB / 486.9 MB, free: 120 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1218, allocations: 29.7 kB / 486.9 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.1219, allocations: 92.12 kB / 487 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.122, allocations: 23.72 kB / 487 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.122, allocations: 9.719 kB / 487 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1221, allocations: 326.8 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/0.1222, allocations: 19.98 kB / 487.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.737e-05/0.1222, allocations: 19.98 kB / 487.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.1224, allocations: 60.83 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1224, allocations: 3.938 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001832/0.1226, allocations: 93.52 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1226, allocations: 4 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1226, allocations: 0 / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1226, allocations: 0 / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.1227, allocations: 15.98 kB / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1227, allocations: 0 / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.294e-05/0.1228, allocations: 11.94 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1228, allocations: 7.938 kB / 487.6 MB, free: 15.38 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 9.27e-05/0.1229, allocations: 121.8 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.1229, allocations: 7.906 kB / 487.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.1232, allocations: 101.9 kB / 487.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1232, allocations: 3.938 kB / 487.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1232, allocations: 0 / 487.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1232, allocations: 4 kB / 487.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.1236, allocations: 358.9 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1237, allocations: 0 / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.1237, allocations: 23.92 kB / 488.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1237, allocations: 0 / 488.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1237, allocations: 4 kB / 488.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1238, allocations: 3.938 kB / 488.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1238, allocations: 0 / 488.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.124, allocations: 179.4 kB / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.1241, allocations: 97 kB / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1241, allocations: 0 / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.1242, allocations: 7.938 kB / 488.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.1242, allocations: 7.984 kB / 488.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.1242, allocations: 0 / 488.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1243, allocations: 119.2 kB / 488.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1243, allocations: 0 / 488.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1246, allocations: 12 kB / 488.6 MB, free: 14.24 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.00134/0.1259, allocations: 1.013 MB / 489.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.1261, allocations: 59.95 kB / 489.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.1262, allocations: 0 / 489.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/0.1262, allocations: 27.92 kB / 489.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.1266, allocations: 15.94 kB / 489.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.1282, allocations: 1.479 MB / 491.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.1285, allocations: 0.6965 MB / 491.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.147e-05/0.1285, allocations: 8 kB / 491.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.1286, allocations: 27.61 kB / 491.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1286, allocations: 0 / 491.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01184/0.1404, allocations: 2.138 MB / 494.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/0.1407, allocations: 237.7 kB / 494.3 MB, free: 8.637 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/1.839, allocations: 0 / 494.3 MB, free: 8.637 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches