Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009582/0.0009578, allocations: 96.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.001354/0.001354, allocations: 202.1 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.326/1.326, allocations: 227.7 MB / 246.8 MB, free: 9.695 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1933/0.1933, allocations: 46.18 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002995, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1162, allocations: 63.56 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002065/0.1183, allocations: 1.372 MB / 484.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009007/0.1192, allocations: 0.6604 MB / 485.2 MB, free: 2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.1193, allocations: 4 kB / 485.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.1196, allocations: 27.91 kB / 485.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.1198, allocations: 35.91 kB / 485.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.171e-06/0.1198, allocations: 0 / 485.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.12, allocations: 51.81 kB / 485.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.12, allocations: 15.97 kB / 485.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.389e-05/0.1201, allocations: 11.92 kB / 485.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.013e-05/0.1202, allocations: 27.86 kB / 485.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1202, allocations: 3.938 kB / 485.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.51e-05/0.1202, allocations: 8 kB / 485.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.079e-05/0.1203, allocations: 19.97 kB / 485.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.1203, allocations: 45.52 kB / 485.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.1205, allocations: 71.94 kB / 485.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1205, allocations: 4 kB / 485.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1205, allocations: 4 kB / 485.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1205, allocations: 0 / 485.5 MB, free: 1.668 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003766/0.1209, allocations: 351.5 kB / 485.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.1209, allocations: 8.875 kB / 485.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.121, allocations: 38.73 kB / 485.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.121, allocations: 8.844 kB / 485.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.1212, allocations: 180.2 kB / 486.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1212, allocations: 4.375 kB / 486.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.1212, allocations: 384 / 486.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1214, allocations: 127.3 kB / 486.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1214, allocations: 3.938 kB / 486.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1214, allocations: 4 kB / 486.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/0.1215, allocations: 19.98 kB / 486.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.798e-05/0.1216, allocations: 43.91 kB / 486.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/0.1222, allocations: 0.8867 MB / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.551e-05/0.1223, allocations: 169.2 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.1223, allocations: 92.02 kB / 487.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1224, allocations: 75.28 kB / 487.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.1224, allocations: 109.8 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1224, allocations: 0 / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.74e-05/0.1225, allocations: 33.61 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.1225, allocations: 126.7 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.1227, allocations: 186 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.1227, allocations: 29.7 kB / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.1228, allocations: 151.1 kB / 488.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.1228, allocations: 8 kB / 488.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.1229, allocations: 21.7 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.123, allocations: 322.8 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.123, allocations: 35.91 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1231, allocations: 155.9 kB / 488.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.1234, allocations: 204.9 kB / 488.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1234, allocations: 0 / 488.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003249/0.1237, allocations: 201.3 kB / 489.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1237, allocations: 8 kB / 489.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1237, allocations: 7.984 kB / 489.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1238, allocations: 11.94 kB / 489.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1239, allocations: 35.92 kB / 489.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1239, allocations: 7.938 kB / 489.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.337e-05/0.124, allocations: 31.69 kB / 489.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.124, allocations: 12.41 kB / 489.2 MB, free: 13.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001014/0.1241, allocations: 217 kB / 489.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.1242, allocations: 112.8 kB / 489.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.1242, allocations: 124.8 kB / 489.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.81e-05/0.1243, allocations: 180.3 kB / 489.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.742e-05/0.1243, allocations: 176.3 kB / 490 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.407e-05/0.1244, allocations: 184.2 kB / 490.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.1246, allocations: 425.1 kB / 490.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.415e-05/0.1246, allocations: 108.9 kB / 490.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.1247, allocations: 105 kB / 490.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.956e-05/0.1247, allocations: 176.3 kB / 490.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/0.1248, allocations: 188.2 kB / 491.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-05/0.1248, allocations: 176.3 kB / 491.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.591e-05/0.1249, allocations: 184.2 kB / 491.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.125, allocations: 307.7 kB / 491.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.235e-05/0.1251, allocations: 193.9 kB / 492 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.058e-05/0.1252, allocations: 180.3 kB / 492.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.1253, allocations: 112.9 kB / 492.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.1253, allocations: 176.3 kB / 492.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.1254, allocations: 113 kB / 492.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.734e-05/0.1255, allocations: 127.2 kB / 492.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.1255, allocations: 0 / 492.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1258, allocations: 19.94 kB / 492.7 MB, free: 9.883 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 (0): * Single equations (assignments): 0 * 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.000707/0.1265, allocations: 0.9169 MB / 493.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.1267, allocations: 80.48 kB / 493.7 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1267, allocations: 0 / 493.7 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.1267, allocations: 0 / 493.7 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.127, allocations: 0.5224 MB / 494.2 MB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1285, allocations: 1.886 MB / 496.1 MB, free: 6.297 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.1287, allocations: 0.697 MB / 496.8 MB, free: 5.574 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.1289, allocations: 52.97 kB / 496.8 MB, free: 5.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.129, allocations: 31.42 kB / 496.9 MB, free: 5.492 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.129, allocations: 0 / 496.9 MB, free: 5.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01165/0.1406, allocations: 1.752 MB / 498.6 MB, free: 3.852 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.1408, allocations: 232.1 kB / 498.8 MB, free: 3.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/1.857, allocations: 0 / 498.8 MB, free: 3.594 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches