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.000964/0.0009641, allocations: 93.12 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.00135/0.00135, allocations: 204 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.384/1.384, allocations: 227.7 MB / 246.8 MB, free: 9.676 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1967/0.1967, allocations: 46.18 MB / 345.2 MB, free: 11.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002541, allocations: 11.98 kB / 419.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 63.56 MB / 483.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002439/0.1217, allocations: 1.338 MB / 484.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1228, allocations: 0.5301 MB / 485 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.33e-05/0.1229, allocations: 0 / 485 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.1232, allocations: 71.83 kB / 485.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.1235, allocations: 87.72 kB / 485.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.1239, allocations: 103.4 kB / 485.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.124, allocations: 67.89 kB / 485.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1241, allocations: 19.98 kB / 485.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.1242, allocations: 35.8 kB / 485.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1243, allocations: 43.81 kB / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1244, allocations: 4 kB / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1245, allocations: 39.98 kB / 485.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.1245, allocations: 15.94 kB / 485.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.552e-05/0.1246, allocations: 61.42 kB / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.1248, allocations: 91.98 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1248, allocations: 4 kB / 485.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1248, allocations: 0 / 485.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1248, allocations: 0 / 485.7 MB, free: 1.496 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.0005201/0.1253, allocations: 403.1 kB / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.1254, allocations: 8.875 kB / 486.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.1254, allocations: 30.75 kB / 486.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.1255, allocations: 16.75 kB / 486.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1257, allocations: 196 kB / 486.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1257, allocations: 4.375 kB / 486.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1258, allocations: 4.375 kB / 486.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1259, allocations: 73.52 kB / 486.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.126, allocations: 0 / 486.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.126, allocations: 7.938 kB / 486.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.126, allocations: 4 kB / 486.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.1261, allocations: 31.97 kB / 486.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.1266, allocations: 300.8 kB / 486.7 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1267, allocations: 54.48 kB / 486.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.1268, allocations: 16.86 kB / 486.8 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.1268, allocations: 4.078 kB / 486.8 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.1268, allocations: 34.56 kB / 486.8 MB, free: 164 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1269, allocations: 4 kB / 486.8 MB, free: 160 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009893/0.1278, allocations: 269 kB / 487.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1279, allocations: 51.41 kB / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.1281, allocations: 201.9 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1281, allocations: 29.7 kB / 487.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1282, allocations: 108.1 kB / 487.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.1282, allocations: 27.62 kB / 487.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.1283, allocations: 13.72 kB / 487.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1284, allocations: 326.8 kB / 487.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.935e-05/0.1285, allocations: 35.97 kB / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.103e-05/0.1286, allocations: 35.98 kB / 487.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.1287, allocations: 84.75 kB / 488 MB, free: 14.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1288, allocations: 0 / 488 MB, free: 14.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000237/0.129, allocations: 117.6 kB / 488.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.129, allocations: 4 kB / 488.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.129, allocations: 0 / 488.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1291, allocations: 0 / 488.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1292, allocations: 23.98 kB / 488.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1292, allocations: 11.88 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.1292, allocations: 7.984 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1293, allocations: 4 kB / 488.2 MB, free: 14.77 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 0.0001058/0.1294, allocations: 133.8 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.1294, allocations: 11.81 kB / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.1297, allocations: 143.3 kB / 488.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1297, allocations: 4 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.1297, allocations: 3.938 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1298, allocations: 3.984 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.1303, allocations: 419.3 kB / 488.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1303, allocations: 0 / 488.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.1304, allocations: 27.86 kB / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1304, allocations: 0 / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1304, allocations: 8 kB / 488.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.066e-06/0.1304, allocations: 7.922 kB / 488.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1304, allocations: 0 / 488.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.1307, allocations: 224.6 kB / 489.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.1308, allocations: 92.94 kB / 489.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1308, allocations: 0 / 489.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.1309, allocations: 8 kB / 489.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.1309, allocations: 11.97 kB / 489.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1309, allocations: 8 kB / 489.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.1311, allocations: 157.8 kB / 489.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1311, allocations: 4 kB / 489.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1314, allocations: 16 kB / 489.4 MB, free: 13.4 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.001443/0.1328, allocations: 1.107 MB / 490.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.1331, allocations: 83.89 kB / 490.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1331, allocations: 0 / 490.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.1332, allocations: 43.92 kB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1335, allocations: 16.05 kB / 490.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.1356, allocations: 1.732 MB / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1359, allocations: 0.7057 MB / 493.1 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.317e-05/0.1359, allocations: 20.64 kB / 493.1 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.136, allocations: 27.44 kB / 493.2 MB, free: 9.691 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.136, allocations: 0 / 493.2 MB, free: 9.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/0.1492, allocations: 2.684 MB / 495.8 MB, free: 7.117 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.1495, allocations: 229.8 kB / 496.1 MB, free: 6.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/1.936, allocations: 0 / 496.1 MB, free: 6.863 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