Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001195/0.001195, allocations: 116.2 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.001289/0.001289, 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.41/1.41, 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.2065/0.2065, allocations: 46.11 MB / 343.8 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 80.17 kB / 417.2 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1179, allocations: 62.44 MB / 479.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003895/0.1219, allocations: 1.657 MB / 481.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.123, allocations: 0.53 MB / 481.8 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.1232, allocations: 0 / 481.8 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.1234, allocations: 27.86 kB / 481.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.1239, allocations: 67.81 kB / 481.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.1243, allocations: 103.8 kB / 482 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.1245, allocations: 55.91 kB / 482 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1246, allocations: 12 kB / 482 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.261e-05/0.1247, allocations: 27.8 kB / 482.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.143e-05/0.1248, allocations: 27.84 kB / 482.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1248, allocations: 4 kB / 482.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.1249, allocations: 31.98 kB / 482.1 MB, free: 3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.125, allocations: 8 kB / 482.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.125, allocations: 23.81 kB / 482.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.1252, allocations: 84.05 kB / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1253, allocations: 0 / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1253, allocations: 0 / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1253, allocations: 0 / 482.2 MB, free: 2.887 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.0005767/0.1259, allocations: 389.6 kB / 482.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1259, allocations: 12.03 kB / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.906e-05/0.126, allocations: 34.75 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.126, allocations: 12.84 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.1262, allocations: 188.2 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.1263, allocations: 384 / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1263, allocations: 4.375 kB / 482.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1264, allocations: 53.62 kB / 482.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1265, allocations: 0 / 482.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.1265, allocations: 0 / 482.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1265, allocations: 0 / 482.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1266, allocations: 31.91 kB / 483 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.127, allocations: 284.9 kB / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.1273, allocations: 50.48 kB / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.1274, allocations: 16.86 kB / 483.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1274, allocations: 0 / 483.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1275, allocations: 38.5 kB / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1275, allocations: 0 / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006113/0.1281, allocations: 149.4 kB / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.1281, allocations: 59.34 kB / 483.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.1283, allocations: 146.1 kB / 483.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1283, allocations: 29.7 kB / 483.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.1284, allocations: 100.1 kB / 483.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.1284, allocations: 11.81 kB / 483.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.1285, allocations: 17.72 kB / 483.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1286, allocations: 322.8 kB / 484.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-05/0.1287, allocations: 19.98 kB / 484.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.3e-05/0.1288, allocations: 19.98 kB / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1289, allocations: 60.81 kB / 484.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1289, allocations: 3.938 kB / 484.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001986/0.1291, allocations: 85.58 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1292, allocations: 4 kB / 484.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1292, allocations: 3.938 kB / 484.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1292, allocations: 0 / 484.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.1294, allocations: 11.98 kB / 484.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1294, allocations: 4 kB / 484.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.1294, allocations: 11.92 kB / 484.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1294, allocations: 8.188 kB / 484.4 MB, free: 0.5156 MB / 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 (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.448e-05/0.1295, allocations: 113.8 kB / 484.5 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.1296, allocations: 7.906 kB / 484.5 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.1298, allocations: 102.2 kB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1299, allocations: 0 / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1299, allocations: 3.938 kB / 484.6 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.1299, allocations: 7.984 kB / 484.6 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.1304, allocations: 354.4 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1304, allocations: 0 / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.1304, allocations: 15.98 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1304, allocations: 0 / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1305, allocations: 0 / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.1305, allocations: 3.938 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1305, allocations: 0 / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.1307, allocations: 191.4 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.1308, allocations: 81.11 kB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1308, allocations: 0 / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.1309, allocations: 11.92 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.131, allocations: 3.938 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.131, allocations: 4 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.592e-05/0.1311, allocations: 121.3 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1311, allocations: 0 / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1313, allocations: 23.91 kB / 485.4 MB, free: 15.39 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.001434/0.1328, allocations: 1.014 MB / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.133, allocations: 51.95 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.133, allocations: 0 / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.632e-05/0.1331, allocations: 27.92 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.1335, allocations: 24.8 kB / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.1352, allocations: 1.468 MB / 488 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.1355, allocations: 0.6924 MB / 488.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.1356, allocations: 20.05 kB / 488.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.1357, allocations: 27.42 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1357, allocations: 0 / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.1499, allocations: 2.399 MB / 491.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.1502, allocations: 238.7 kB / 491.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/1.998, allocations: 0 / 491.4 MB, free: 9.508 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches