Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001422/0.001422, allocations: 107.1 kB / 17.33 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001672/0.001672, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.09 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001476, allocations: 78.2 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1043, allocations: 62.44 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.00337/0.1078, allocations: 1.711 MB / 481.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009855/0.1088, allocations: 0.5377 MB / 481.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.1088, allocations: 0 / 481.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.1092, allocations: 91.81 kB / 481.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.1095, allocations: 99.7 kB / 482 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.1098, allocations: 87.09 kB / 482.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.11, allocations: 103.7 kB / 482.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1101, allocations: 24.28 kB / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.1102, allocations: 39.83 kB / 482.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1103, allocations: 67.8 kB / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1103, allocations: 4 kB / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-05/0.1104, allocations: 43.98 kB / 482.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.232e-05/0.1105, allocations: 23.92 kB / 482.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.481e-05/0.1105, allocations: 43.61 kB / 482.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.1107, allocations: 131.5 kB / 482.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1107, allocations: 4 kB / 482.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1107, allocations: 0 / 482.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1108, allocations: 0 / 482.6 MB, free: 2.52 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004521/0.1112, allocations: 430.9 kB / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1113, allocations: 8.031 kB / 483 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.1113, allocations: 42.73 kB / 483.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.1113, allocations: 12.75 kB / 483.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.1115, allocations: 208.5 kB / 483.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1116, allocations: 4.312 kB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1116, allocations: 12.38 kB / 483.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1118, allocations: 77.59 kB / 483.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1118, allocations: 0 / 483.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1118, allocations: 0 / 483.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1118, allocations: 4 kB / 483.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.1119, allocations: 35.97 kB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.1123, allocations: 340.5 kB / 483.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.1125, allocations: 62.55 kB / 483.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.1125, allocations: 24.84 kB / 483.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1126, allocations: 0 / 483.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1126, allocations: 34.56 kB / 483.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.1126, allocations: 3.938 kB / 483.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001037/0.1137, allocations: 308.9 kB / 484.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.1137, allocations: 59.39 kB / 484.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.1139, allocations: 236.3 kB / 484.5 MB, free: 464 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.114, allocations: 33.7 kB / 484.5 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.114, allocations: 108 kB / 484.6 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.1141, allocations: 43.45 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.1141, allocations: 21.72 kB / 484.7 MB, free: 240 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1143, allocations: 330.8 kB / 485 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1144, allocations: 39.98 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.74e-05/0.1145, allocations: 39.97 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.1147, allocations: 88.83 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1147, allocations: 4 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002495/0.1149, allocations: 140.8 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1149, allocations: 6.656 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1149, allocations: 0 / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.115, allocations: 7.938 kB / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1151, allocations: 23.98 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1151, allocations: 112 / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.1152, allocations: 19.92 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1152, allocations: 4 kB / 485.3 MB, free: 15.53 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 (13): * Single equations (assignments): 13 * 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.923e-05/0.1153, allocations: 137.7 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.1153, allocations: 19.8 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.1157, allocations: 163.8 kB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1157, allocations: 0 / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1157, allocations: 4 kB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1157, allocations: 0 / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.1163, allocations: 487 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1163, allocations: 0 / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.859e-05/0.1164, allocations: 31.98 kB / 486.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1164, allocations: 4.031 kB / 486.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1164, allocations: 0 / 486.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1164, allocations: 4 kB / 486.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1165, allocations: 0 / 486.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.1168, allocations: 252 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.1168, allocations: 92.92 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.1168, allocations: 0 / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.1169, allocations: 8 kB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.117, allocations: 7.984 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.117, allocations: 4 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.1171, allocations: 181.2 kB / 486.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1171, allocations: 0 / 486.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1174, allocations: 27.94 kB / 486.7 MB, free: 14.03 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 (13): * Single equations (assignments): 13 * 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.001463/0.1189, allocations: 1.126 MB / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.1191, allocations: 99.64 kB / 488 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1192, allocations: 4 kB / 488 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.1193, allocations: 51.91 kB / 488 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1196, allocations: 27.86 kB / 488 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.1217, allocations: 1.885 MB / 489.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.122, allocations: 0.7119 MB / 490.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.756e-05/0.1221, allocations: 24.47 kB / 490.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/0.1222, allocations: 47.42 kB / 490.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1222, allocations: 0 / 490.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.098/1.22, allocations: 3.317 MB / 494 MB, free: 6.855 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/1.22, allocations: 242.7 kB / 494.3 MB, free: 6.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.975, allocations: 3.938 kB / 494.3 MB, free: 6.586 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches