Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2096/0.2096, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 76.91 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1171, allocations: 62.45 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003085/0.1203, allocations: 1.588 MB / 481.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.122, allocations: 1.167 MB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.1221, allocations: 0 / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.1223, allocations: 27.78 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.1226, allocations: 87.62 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.123, allocations: 107.7 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1231, allocations: 71.81 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.1232, allocations: 15.98 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.586e-05/0.1233, allocations: 27.86 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.1234, allocations: 35.84 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1235, allocations: 4 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.1237, allocations: 95.88 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.1237, allocations: 15.92 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.1238, allocations: 19.88 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.124, allocations: 143.9 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.124, allocations: 0 / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.124, allocations: 0 / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.124, allocations: 0 / 483.5 MB, free: 1.773 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.0004989/0.1245, allocations: 407.1 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1246, allocations: 11.97 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.974e-05/0.1246, allocations: 30.75 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.1247, allocations: 12.84 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.1248, allocations: 188.2 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1249, allocations: 12.38 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.1249, allocations: 384 / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.125, allocations: 67.27 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1251, allocations: 0 / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1251, allocations: 8 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1251, allocations: 0 / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.925e-05/0.1252, allocations: 23.98 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.1256, allocations: 284.9 kB / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.1257, allocations: 46.5 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.1258, allocations: 16.94 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.1259, allocations: 8 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1259, allocations: 30.56 kB / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.1259, allocations: 0 / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005569/0.1265, allocations: 153.2 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.1265, allocations: 85.05 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1267, allocations: 152.3 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1267, allocations: 25.7 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.1268, allocations: 92.14 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.1268, allocations: 19.7 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.1268, allocations: 17.72 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.127, allocations: 322.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.1271, allocations: 19.98 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.971e-05/0.1271, allocations: 37.7 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.1273, allocations: 56.77 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1273, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001928/0.1275, allocations: 81.66 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1275, allocations: 4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1275, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1275, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.317e-05/0.1276, allocations: 24.02 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1276, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.1277, allocations: 12.09 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.1277, allocations: 4 kB / 485.7 MB, free: 15.32 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 (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 7.678e-05/0.1278, allocations: 121.8 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.1278, allocations: 4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.1281, allocations: 101.8 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1281, allocations: 4 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1281, allocations: 3.984 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1281, allocations: 7.875 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.1285, allocations: 354.5 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1285, allocations: 0 / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/0.1286, allocations: 16 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1286, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.1286, allocations: 8.219 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.1286, allocations: 3.984 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1287, allocations: 0 / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1289, allocations: 175.4 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.1289, allocations: 89.08 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.129, allocations: 7.875 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.129, allocations: 15.94 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.1291, allocations: 3.984 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1291, allocations: 4 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.334e-05/0.1292, allocations: 109.6 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1292, allocations: 0 / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.1295, allocations: 39.98 kB / 486.8 MB, free: 14.16 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.001488/0.131, allocations: 1.109 MB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.1312, allocations: 59.84 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1312, allocations: 0 / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.077e-05/0.1313, allocations: 27.97 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.1316, allocations: 12 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.1332, allocations: 1.44 MB / 489.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.1335, allocations: 0.6924 MB / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.945e-05/0.1336, allocations: 19.98 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.1336, allocations: 23.42 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1336, allocations: 0 / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.1547, allocations: 3.163 MB / 493.3 MB, free: 7.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.049, allocations: 7.672 kB / 493.3 MB, free: 7.711 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches