Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 212.6 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.269/0.269, allocations: 46.97 MB / 361.7 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 59.91 kB / 0.4969 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4292, allocations: 66.03 MB / 0.5614 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004894/0.4341, allocations: 1.97 MB / 0.5633 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.4375, allocations: 1.299 MB / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004006/0.4379, allocations: 7.938 kB / 0.5646 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.4384, allocations: 51.52 kB / 0.5646 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008514/0.4392, allocations: 219.1 kB / 0.5648 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.4409, allocations: 0.599 MB / 0.5654 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007834/0.4417, allocations: 331 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/0.442, allocations: 52.91 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004577/0.4424, allocations: 139.4 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.4428, allocations: 211.2 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.4429, allocations: 16 kB / 0.5661 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.4431, allocations: 59.98 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.4433, allocations: 155.5 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.4435, allocations: 138.8 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000641/0.4442, allocations: 420 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4442, allocations: 3.938 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4442, allocations: 0 / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.4442, allocations: 3.938 kB / 0.5669 GB, free: 14.58 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001347/0.4455, allocations: 0.7446 MB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4456, allocations: 8.031 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.254e-05/0.4456, allocations: 8.188 kB / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.628e-05/0.4457, allocations: 46.73 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003609/0.446, allocations: 80.44 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007715/0.4468, allocations: 423.2 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.4468, allocations: 12.12 kB / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.4469, allocations: 12 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.4472, allocations: 156.9 kB / 0.5683 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.4472, allocations: 0 / 0.5683 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.4472, allocations: 4 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4472, allocations: 4 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.4475, allocations: 91.94 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.4486, allocations: 0.6517 MB / 0.569 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.4488, allocations: 109.2 kB / 0.5691 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.4489, allocations: 49.75 kB / 0.5692 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.4489, allocations: 0 / 0.5692 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.449, allocations: 46.5 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.449, allocations: 0 / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001602/0.4506, allocations: 0.5739 MB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.4506, allocations: 77.11 kB / 0.5699 GB, free: 11.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.4518, allocations: 0.926 MB / 0.5708 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.4518, allocations: 29.7 kB / 0.5708 GB, free: 10.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.452, allocations: 280.3 kB / 0.5711 GB, free: 10.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.4521, allocations: 51.48 kB / 0.5711 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.4521, allocations: 33.7 kB / 0.5712 GB, free: 9.977 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4523, allocations: 325.9 kB / 0.5715 GB, free: 9.652 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.4525, allocations: 63.95 kB / 0.5715 GB, free: 9.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.4526, allocations: 77.67 kB / 0.5716 GB, free: 9.508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.453, allocations: 157.6 kB / 0.5717 GB, free: 9.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.453, allocations: 0 / 0.5717 GB, free: 9.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005184/0.4536, allocations: 245.2 kB / 0.572 GB, free: 9.102 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4536, allocations: 8 kB / 0.572 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4536, allocations: 0 / 0.572 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4536, allocations: 0 / 0.572 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.4538, allocations: 43.91 kB / 0.572 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4538, allocations: 4 kB / 0.572 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.454, allocations: 11.98 kB / 0.572 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.454, allocations: 8 kB / 0.5721 GB, free: 9.027 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002227/0.4542, allocations: 217.9 kB / 0.5723 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.4543, allocations: 63.58 kB / 0.5723 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006414/0.455, allocations: 298.9 kB / 0.5726 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.455, allocations: 4 kB / 0.5726 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.455, allocations: 0 / 0.5726 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.455, allocations: 0 / 0.5726 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.4562, allocations: 0.7659 MB / 0.5734 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4562, allocations: 384 / 0.5734 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.4563, allocations: 39.97 kB / 0.5734 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4563, allocations: 0 / 0.5734 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.4564, allocations: 15.94 kB / 0.5734 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4564, allocations: 0 / 0.5734 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4564, allocations: 0 / 0.5734 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.457, allocations: 422.2 kB / 0.5738 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.4571, allocations: 79.58 kB / 0.5739 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.848e-05/0.4572, allocations: 15.92 kB / 0.5739 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.4574, allocations: 8 kB / 0.5739 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.4574, allocations: 15.97 kB / 0.5739 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.4574, allocations: 11.98 kB / 0.5739 GB, free: 7.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007989/0.4582, allocations: 0.6786 MB / 0.5746 GB, free: 6.332 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4582, allocations: 0 / 0.5746 GB, free: 6.332 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003711/0.4586, allocations: 59.94 kB / 0.5747 GB, free: 6.273 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 (16): * Single equations (assignments): 16 * 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.002441/0.4611, allocations: 1.293 MB / 0.5759 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004348/0.4615, allocations: 155.8 kB / 0.5761 GB, free: 4.988 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4615, allocations: 0 / 0.5761 GB, free: 4.988 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.4617, allocations: 84.36 kB / 0.5762 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.4623, allocations: 90.2 kB / 0.5762 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006826/0.4691, allocations: 5.185 MB / 0.5813 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.4694, allocations: 278.7 kB / 0.5816 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.4696, allocations: 95.2 kB / 0.5817 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.4699, allocations: 175.4 kB / 0.5818 GB, free: 14.98 MB / 430.1 MB Notification: Performance of SimCode: time 1.693e-06/0.4699, allocations: 0 / 0.5818 GB, free: 14.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/0.5051, allocations: 10.59 MB / 0.5922 GB, free: 4.508 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.59, allocations: 6.109 kB / 0.5922 GB, free: 4.508 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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: 16.060317271971144]