Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001499/0.001499, 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.001598/0.001598, 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.429/1.429, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.2285/0.2285, allocations: 46.91 MB / 357.7 MB, free: 10.2 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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 79.88 kB / 0.4917 GB, free: 26.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1116, allocations: 66.04 MB / 0.5562 GB, free: 8.648 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003065/0.1147, allocations: 1.623 MB / 0.5578 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1157, allocations: 0.5371 MB / 0.5583 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.328e-05/0.1158, allocations: 0 / 0.5583 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.1161, allocations: 87.7 kB / 0.5584 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.1164, allocations: 91.66 kB / 0.5585 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.1167, allocations: 95.69 kB / 0.5586 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1169, allocations: 91.73 kB / 0.5586 GB, free: 6.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.117, allocations: 11.94 kB / 0.5587 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.1171, allocations: 35.89 kB / 0.5587 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1172, allocations: 67.75 kB / 0.5588 GB, free: 6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.1172, allocations: 0 / 0.5588 GB, free: 6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1173, allocations: 59.91 kB / 0.5588 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.124e-05/0.1174, allocations: 19.92 kB / 0.5588 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.1174, allocations: 27.75 kB / 0.5589 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.1176, allocations: 103.6 kB / 0.559 GB, free: 5.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1176, allocations: 0 / 0.559 GB, free: 5.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1176, allocations: 3.938 kB / 0.559 GB, free: 5.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1176, allocations: 0 / 0.559 GB, free: 5.789 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.0005618/0.1182, allocations: 418.7 kB / 0.5594 GB, free: 5.328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1182, allocations: 8.031 kB / 0.5594 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.493e-05/0.1183, allocations: 12.12 kB / 0.5594 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.1183, allocations: 30.75 kB / 0.5594 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.1183, allocations: 12.84 kB / 0.5594 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.1186, allocations: 204.8 kB / 0.5596 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1186, allocations: 384 / 0.5596 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.1186, allocations: 8.375 kB / 0.5596 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.1188, allocations: 53.98 kB / 0.5597 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1188, allocations: 0 / 0.5597 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1188, allocations: 8 kB / 0.5597 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1188, allocations: 4 kB / 0.5597 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1189, allocations: 31.91 kB / 0.5597 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.1193, allocations: 288.8 kB / 0.56 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1195, allocations: 42.56 kB / 0.56 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.1195, allocations: 20.94 kB / 0.5601 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.1196, allocations: 4 kB / 0.5601 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.1196, allocations: 34.5 kB / 0.5601 GB, free: 4.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1196, allocations: 0 / 0.5601 GB, free: 4.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009523/0.1205, allocations: 229.2 kB / 0.5603 GB, free: 4.223 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1206, allocations: 55.41 kB / 0.5604 GB, free: 4.156 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1208, allocations: 214.4 kB / 0.5606 GB, free: 3.938 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1209, allocations: 25.7 kB / 0.5606 GB, free: 3.906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.1209, allocations: 104.1 kB / 0.5607 GB, free: 3.801 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.121, allocations: 31.73 kB / 0.5607 GB, free: 3.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.121, allocations: 21.72 kB / 0.5607 GB, free: 3.742 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1212, allocations: 330.8 kB / 0.5611 GB, free: 3.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.1212, allocations: 23.98 kB / 0.5611 GB, free: 3.387 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.1213, allocations: 27.97 kB / 0.5611 GB, free: 3.359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.1215, allocations: 60.89 kB / 0.5612 GB, free: 3.297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1215, allocations: 11.88 kB / 0.5612 GB, free: 3.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002936/0.1218, allocations: 93.86 kB / 0.5613 GB, free: 3.188 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1218, allocations: 4 kB / 0.5613 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1218, allocations: 8.078 kB / 0.5613 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1218, allocations: 0 / 0.5613 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1219, allocations: 15.98 kB / 0.5613 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1219, allocations: 3.984 kB / 0.5613 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.1e-05/0.122, allocations: 15.92 kB / 0.5613 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.122, allocations: 4 kB / 0.5613 GB, free: 3.137 MB / 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.0001031/0.1221, allocations: 121.8 kB / 0.5614 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.1221, allocations: 23.83 kB / 0.5615 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.1224, allocations: 115.1 kB / 0.5616 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1224, allocations: 0 / 0.5616 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1224, allocations: 3.984 kB / 0.5616 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1224, allocations: 3.938 kB / 0.5616 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005694/0.123, allocations: 403.3 kB / 0.562 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.123, allocations: 4 kB / 0.562 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.839e-05/0.1231, allocations: 20.02 kB / 0.562 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1231, allocations: 3.938 kB / 0.562 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.1231, allocations: 8 kB / 0.562 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1231, allocations: 3.938 kB / 0.562 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1231, allocations: 0 / 0.562 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.1234, allocations: 204.3 kB / 0.5622 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.271e-05/0.1235, allocations: 93.02 kB / 0.5623 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1235, allocations: 3.938 kB / 0.5623 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.1236, allocations: 11.98 kB / 0.5623 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.1236, allocations: 4 kB / 0.5623 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1236, allocations: 0 / 0.5623 GB, free: 2.012 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.1238, allocations: 164.2 kB / 0.5625 GB, free: 1.852 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1238, allocations: 0 / 0.5625 GB, free: 1.852 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.124, allocations: 27.92 kB / 0.5625 GB, free: 1.824 MB / 414.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.002239/0.1263, allocations: 1.092 MB / 0.5635 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.1265, allocations: 63.89 kB / 0.5636 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1265, allocations: 0 / 0.5636 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.139e-05/0.1266, allocations: 31.97 kB / 0.5636 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.127, allocations: 22.64 kB / 0.5637 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.129, allocations: 1.677 MB / 0.5653 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.1293, allocations: 0.7041 MB / 0.566 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.721e-05/0.1294, allocations: 16.66 kB / 0.566 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.1294, allocations: 31.42 kB / 0.566 GB, free: 14.21 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1294, allocations: 3.938 kB / 0.566 GB, free: 14.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.1486, allocations: 3.159 MB / 0.5691 GB, free: 11.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/7.935, allocations: 14.59 kB / 0.5691 GB, free: 11.1 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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: 10.99729450099403]