Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001663/0.001663, allocations: 120.1 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001914/0.001914, allocations: 218.2 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 230.4 MB / 254.7 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 46.92 MB / 357.7 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] 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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 79.86 kB / 0.4917 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1153, allocations: 66.04 MB / 0.5562 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003043/0.1183, allocations: 1.63 MB / 0.5578 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009599/0.1193, allocations: 0.5372 MB / 0.5583 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/0.1193, allocations: 8 kB / 0.5583 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.1196, allocations: 71.77 kB / 0.5584 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.1198, allocations: 107.6 kB / 0.5585 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.1201, allocations: 87.75 kB / 0.5586 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.1202, allocations: 87.75 kB / 0.5586 GB, free: 3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.1203, allocations: 11.98 kB / 0.5586 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.18e-05/0.1204, allocations: 39.78 kB / 0.5587 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.1205, allocations: 59.81 kB / 0.5587 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1205, allocations: 8 kB / 0.5588 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.312e-05/0.1206, allocations: 43.98 kB / 0.5588 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.419e-05/0.1207, allocations: 23.91 kB / 0.5588 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.1207, allocations: 31.73 kB / 0.5588 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.1209, allocations: 107.5 kB / 0.5589 GB, free: 2.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1209, allocations: 0 / 0.5589 GB, free: 2.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1209, allocations: 0 / 0.5589 GB, free: 2.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1209, allocations: 0 / 0.5589 GB, free: 2.68 MB / 414.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.0004981/0.1214, allocations: 418.7 kB / 0.5593 GB, free: 2.219 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1214, allocations: 16.03 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.883e-05/0.1214, allocations: 192 / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.1215, allocations: 38.75 kB / 0.5594 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.1215, allocations: 12.84 kB / 0.5594 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.1217, allocations: 208.8 kB / 0.5596 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1217, allocations: 4.375 kB / 0.5596 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.1217, allocations: 384 / 0.5596 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1219, allocations: 61.92 kB / 0.5597 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1219, allocations: 4 kB / 0.5597 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1219, allocations: 7.984 kB / 0.5597 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1219, allocations: 0 / 0.5597 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/0.122, allocations: 23.98 kB / 0.5597 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.1224, allocations: 292.8 kB / 0.56 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.1225, allocations: 42.5 kB / 0.56 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.1225, allocations: 20.86 kB / 0.5601 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.1225, allocations: 0 / 0.5601 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1226, allocations: 34.64 kB / 0.5601 GB, free: 1.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1226, allocations: 0 / 0.5601 GB, free: 1.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000863/0.1234, allocations: 229.3 kB / 0.5603 GB, free: 1.109 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1235, allocations: 51.41 kB / 0.5604 GB, free: 1.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1237, allocations: 218.2 kB / 0.5606 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1237, allocations: 25.7 kB / 0.5606 GB, free: 0.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.1238, allocations: 112.1 kB / 0.5607 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.1238, allocations: 27.73 kB / 0.5607 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.1238, allocations: 25.66 kB / 0.5607 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.124, allocations: 326.8 kB / 0.5611 GB, free: 300 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.1241, allocations: 31.92 kB / 0.5611 GB, free: 268 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.426e-05/0.1241, allocations: 32.03 kB / 0.5611 GB, free: 236 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1243, allocations: 56.84 kB / 0.5612 GB, free: 176 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1243, allocations: 0 / 0.5612 GB, free: 176 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000212/0.1245, allocations: 101.6 kB / 0.5613 GB, free: 68 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1245, allocations: 12 kB / 0.5613 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1245, allocations: 0 / 0.5613 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1245, allocations: 0 / 0.5613 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.1246, allocations: 19.92 kB / 0.5613 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1246, allocations: 0 / 0.5613 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.1247, allocations: 7.938 kB / 0.5613 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.1247, allocations: 7.984 kB / 0.5613 GB, free: 20 kB / 414.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.0001056/0.1248, allocations: 121.8 kB / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.1248, allocations: 15.91 kB / 0.5614 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.1251, allocations: 115 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1251, allocations: 0 / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1251, allocations: 0 / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1251, allocations: 7.938 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/0.1256, allocations: 411.2 kB / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1256, allocations: 8.031 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.1257, allocations: 16 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1257, allocations: 7.922 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1257, allocations: 4 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1257, allocations: 0 / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1257, allocations: 0 / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.126, allocations: 208.7 kB / 0.5622 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.126, allocations: 89.44 kB / 0.5623 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1261, allocations: 3.938 kB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.1261, allocations: 4 kB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1262, allocations: 11.92 kB / 0.5623 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1262, allocations: 4 kB / 0.5623 GB, free: 14.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1263, allocations: 164.2 kB / 0.5624 GB, free: 14.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1263, allocations: 0 / 0.5624 GB, free: 14.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1266, allocations: 27.92 kB / 0.5625 GB, free: 14.71 MB / 430.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.002085/0.1286, allocations: 1.091 MB / 0.5635 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.1289, allocations: 59.95 kB / 0.5636 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1289, allocations: 0 / 0.5636 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/0.1289, allocations: 35.91 kB / 0.5636 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.1293, allocations: 18.41 kB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.1312, allocations: 1.676 MB / 0.5653 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.1316, allocations: 0.7119 MB / 0.566 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.887e-05/0.1316, allocations: 16.97 kB / 0.566 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.1317, allocations: 35.42 kB / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1317, allocations: 0 / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.1501, allocations: 3.16 MB / 0.5691 GB, free: 7.992 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.109, allocations: 7.984 kB / 0.5691 GB, free: 7.984 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.054354016960133]