Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001485, allocations: 107 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001891/0.001891, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 73.27 kB / 417.1 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1169, allocations: 62.44 MB / 479.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002969/0.1199, allocations: 1.68 MB / 481.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008587/0.1207, allocations: 0.5378 MB / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.1208, allocations: 0 / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.1211, allocations: 71.84 kB / 481.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.1213, allocations: 95.72 kB / 482 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.1216, allocations: 99.56 kB / 482.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.1218, allocations: 79.81 kB / 482.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.371e-05/0.1219, allocations: 19.98 kB / 482.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.342e-05/0.1219, allocations: 31.86 kB / 482.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.887e-05/0.122, allocations: 51.83 kB / 482.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1221, allocations: 4 kB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-05/0.1222, allocations: 39.98 kB / 482.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.1222, allocations: 27.91 kB / 482.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.1223, allocations: 35.73 kB / 482.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1224, allocations: 99.92 kB / 482.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1224, allocations: 0 / 482.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1224, allocations: 4 kB / 482.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1225, allocations: 0 / 482.5 MB, free: 2.609 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.0004069/0.1229, allocations: 407 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1229, allocations: 8.031 kB / 482.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.1229, allocations: 38.75 kB / 482.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.123, allocations: 16.69 kB / 482.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.1231, allocations: 196.1 kB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1232, allocations: 384 / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.1232, allocations: 4.375 kB / 483.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1233, allocations: 69.53 kB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1233, allocations: 0 / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1234, allocations: 0 / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1234, allocations: 4 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.842e-05/0.1235, allocations: 23.98 kB / 483.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.1238, allocations: 300.7 kB / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.876e-05/0.1239, allocations: 50.5 kB / 483.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.124, allocations: 20.94 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.124, allocations: 0 / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.124, allocations: 30.56 kB / 483.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1241, allocations: 0 / 483.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008257/0.1249, allocations: 257.3 kB / 483.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.1249, allocations: 51.41 kB / 483.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.1251, allocations: 213.8 kB / 484.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1251, allocations: 25.7 kB / 484.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.1252, allocations: 96.14 kB / 484.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1252, allocations: 35.55 kB / 484.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.1252, allocations: 21.72 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.1253, allocations: 322.8 kB / 484.6 MB, free: 240 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-05/0.1254, allocations: 27.97 kB / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.1255, allocations: 35.92 kB / 484.7 MB, free: 176 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.1256, allocations: 72.81 kB / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1257, allocations: 4 kB / 484.7 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002138/0.1259, allocations: 109.6 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1259, allocations: 4 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1259, allocations: 0 / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1259, allocations: 0 / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-05/0.126, allocations: 27.86 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.126, allocations: 3.938 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.1261, allocations: 7.984 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.1261, allocations: 4 kB / 484.9 MB, free: 15.93 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 7.617e-05/0.1262, allocations: 129.8 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.1262, allocations: 15.8 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.1265, allocations: 127 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1265, allocations: 0 / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1265, allocations: 3.938 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1265, allocations: 0 / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.127, allocations: 419.7 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.127, allocations: 0 / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.877e-05/0.1271, allocations: 31.86 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1271, allocations: 0 / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.1271, allocations: 0 / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1271, allocations: 4 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1271, allocations: 32 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.1274, allocations: 220.2 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.1274, allocations: 88.95 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.1274, allocations: 0 / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.1275, allocations: 7.984 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.1275, allocations: 15.94 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1276, allocations: 4 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1277, allocations: 157.8 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1277, allocations: 0 / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1279, allocations: 19.98 kB / 486.1 MB, free: 14.61 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.001304/0.1292, allocations: 1.085 MB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.1295, allocations: 87.88 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1295, allocations: 0 / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.232e-05/0.1296, allocations: 43.91 kB / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1299, allocations: 26.67 kB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.1317, allocations: 1.696 MB / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1319, allocations: 0.7018 MB / 489.7 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.356e-05/0.132, allocations: 24.95 kB / 489.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.1321, allocations: 39.42 kB / 489.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1321, allocations: 0 / 489.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.1496, allocations: 2.912 MB / 492.7 MB, free: 8.117 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.1498, allocations: 246.7 kB / 493 MB, free: 7.848 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/1.943, allocations: 0 / 493 MB, free: 7.848 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches