Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001143/0.001143, allocations: 115.1 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0012/0.0012, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.4 MB, free: 10.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 77.59 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1136, allocations: 62.45 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003345/0.117, allocations: 1.665 MB / 481.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1181, allocations: 0.5339 MB / 481.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.533e-05/0.1182, allocations: 3.938 kB / 481.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.1186, allocations: 75.84 kB / 481.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.1189, allocations: 87.77 kB / 482 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.1193, allocations: 79.86 kB / 482 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1195, allocations: 79.81 kB / 482.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1196, allocations: 19.98 kB / 482.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.99e-05/0.1197, allocations: 39.83 kB / 482.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.1198, allocations: 55.77 kB / 482.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1198, allocations: 4 kB / 482.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.12, allocations: 39.98 kB / 482.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.12, allocations: 23.92 kB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.1201, allocations: 35.73 kB / 482.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.1203, allocations: 104 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1203, allocations: 0 / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1203, allocations: 3.938 kB / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1203, allocations: 0 / 482.4 MB, free: 2.672 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.0005221/0.1209, allocations: 417.5 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.1209, allocations: 12.03 kB / 482.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.121, allocations: 38.69 kB / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.121, allocations: 8.844 kB / 482.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1213, allocations: 202.7 kB / 483.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1213, allocations: 8.375 kB / 483.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.1213, allocations: 384 / 483.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.1215, allocations: 65.53 kB / 483.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.1215, allocations: 7.906 kB / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1215, allocations: 0 / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1215, allocations: 0 / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1217, allocations: 27.92 kB / 483.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.1221, allocations: 304.7 kB / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1222, allocations: 38.56 kB / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.961e-05/0.1222, allocations: 16.86 kB / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1223, allocations: 4 kB / 483.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1223, allocations: 42.58 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1223, allocations: 0 / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009353/0.1233, allocations: 217.5 kB / 483.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.1233, allocations: 55.34 kB / 483.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1235, allocations: 214.8 kB / 484.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1236, allocations: 33.7 kB / 484.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.1236, allocations: 104.1 kB / 484.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.1237, allocations: 27.61 kB / 484.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.1237, allocations: 17.72 kB / 484.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1238, allocations: 326.8 kB / 484.6 MB, free: 312 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.754e-05/0.1239, allocations: 23.98 kB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.899e-05/0.124, allocations: 32.03 kB / 484.6 MB, free: 256 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.1241, allocations: 56.84 kB / 484.7 MB, free: 196 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1241, allocations: 0 / 484.7 MB, free: 196 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002122/0.1244, allocations: 105.5 kB / 484.8 MB, free: 84 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1244, allocations: 4 kB / 484.8 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1244, allocations: 0 / 484.8 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1244, allocations: 0 / 484.8 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1245, allocations: 23.98 kB / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1246, allocations: 3.938 kB / 484.8 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.1246, allocations: 4 kB / 484.8 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1246, allocations: 7.984 kB / 484.8 MB, free: 40 kB / 350.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 0.0001172/0.1247, allocations: 121.8 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.1248, allocations: 15.8 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.1251, allocations: 127.2 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1251, allocations: 8 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1251, allocations: 3.938 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1251, allocations: 0 / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.1256, allocations: 403.3 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1257, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.125e-05/0.1257, allocations: 23.94 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1258, allocations: 8.016 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1258, allocations: 0 / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1258, allocations: 3.938 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1258, allocations: 7.938 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.126, allocations: 208.2 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.1261, allocations: 84.95 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1261, allocations: 8 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.1262, allocations: 7.938 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.1262, allocations: 7.984 kB / 485.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.1263, allocations: 4 kB / 485.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.1264, allocations: 164.7 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1264, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1267, allocations: 23.98 kB / 486 MB, free: 14.72 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.001475/0.1281, allocations: 1.094 MB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.1284, allocations: 63.91 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1284, allocations: 0 / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.595e-05/0.1285, allocations: 39.97 kB / 487.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.1289, allocations: 8 kB / 487.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.1307, allocations: 1.701 MB / 488.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.131, allocations: 0.7041 MB / 489.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.265e-05/0.131, allocations: 8.672 kB / 489.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.215e-05/0.1311, allocations: 31.42 kB / 489.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1311, allocations: 0 / 489.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.1451, allocations: 2.923 MB / 492.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/0.1455, allocations: 248.1 kB / 492.9 MB, free: 8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.023, allocations: 0 / 492.9 MB, free: 8 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches