Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001357/0.001357, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002143/0.002143, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.426/1.426, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2287/0.2287, allocations: 46.93 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003156/0.003156, allocations: 71.89 kB / 0.4962 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4102, allocations: 66.03 MB / 0.5607 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003188/0.4133, allocations: 1.686 MB / 0.5623 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.4145, allocations: 0.5699 MB / 0.5629 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.4145, allocations: 0 / 0.5629 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.4148, allocations: 99.67 kB / 0.563 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.4151, allocations: 111.6 kB / 0.5631 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.4154, allocations: 119.7 kB / 0.5632 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.4156, allocations: 103.7 kB / 0.5633 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.4157, allocations: 21.81 kB / 0.5633 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.4158, allocations: 39.84 kB / 0.5633 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.4159, allocations: 71.73 kB / 0.5634 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.4159, allocations: 4 kB / 0.5634 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.416, allocations: 59.91 kB / 0.5635 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.4161, allocations: 27.92 kB / 0.5635 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.4161, allocations: 47.61 kB / 0.5635 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.4163, allocations: 127.4 kB / 0.5637 GB, free: 1.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4164, allocations: 0 / 0.5637 GB, free: 1.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4164, allocations: 0 / 0.5637 GB, free: 1.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.4164, allocations: 0 / 0.5637 GB, free: 1.367 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005525/0.4169, allocations: 369.4 kB / 0.564 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.417, allocations: 12.03 kB / 0.564 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.417, allocations: 34.73 kB / 0.5641 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.417, allocations: 24.84 kB / 0.5641 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.4172, allocations: 150.8 kB / 0.5642 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.4173, allocations: 4.375 kB / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.4173, allocations: 8.375 kB / 0.5642 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.4175, allocations: 77.36 kB / 0.5643 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.4175, allocations: 11.88 kB / 0.5643 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.4175, allocations: 0 / 0.5643 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4175, allocations: 0 / 0.5643 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.4176, allocations: 39.97 kB / 0.5644 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.4181, allocations: 319.8 kB / 0.5647 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.4182, allocations: 66.48 kB / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.4183, allocations: 24.84 kB / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.4183, allocations: 3.984 kB / 0.5648 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.4183, allocations: 34.56 kB / 0.5648 GB, free: 84 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4183, allocations: 0 / 0.5648 GB, free: 84 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001069/0.4194, allocations: 345.7 kB / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.4195, allocations: 59.34 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.4197, allocations: 239.5 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.4197, allocations: 29.7 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.4198, allocations: 112.1 kB / 0.5655 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.4199, allocations: 43.58 kB / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.4199, allocations: 29.7 kB / 0.5656 GB, free: 15.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4201, allocations: 330.8 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.4202, allocations: 39.97 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.764e-05/0.4203, allocations: 51.97 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.4205, allocations: 100.8 kB / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4205, allocations: 0 / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002812/0.4208, allocations: 165.5 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.4208, allocations: 4 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4208, allocations: 11.81 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.4208, allocations: 8 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.4209, allocations: 23.98 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4209, allocations: 0 / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.421, allocations: 4 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.421, allocations: 8 kB / 0.5663 GB, free: 14.44 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 (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 0.0001144/0.4211, allocations: 133.8 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.4211, allocations: 19.89 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/0.4215, allocations: 198.2 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4215, allocations: 0 / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4216, allocations: 0 / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4216, allocations: 0 / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006577/0.4222, allocations: 466.2 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4222, allocations: 4 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.651e-05/0.4223, allocations: 27.92 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4223, allocations: 4.031 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.4223, allocations: 8 kB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.4223, allocations: 4 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4223, allocations: 3.938 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.4227, allocations: 260.2 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.4227, allocations: 15.91 kB / 0.5674 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.4227, allocations: 0 / 0.5674 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-05/0.4228, allocations: 8 kB / 0.5674 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.4228, allocations: 15.91 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.4228, allocations: 4 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.423, allocations: 181.1 kB / 0.5676 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.423, allocations: 0 / 0.5676 GB, free: 13.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.4233, allocations: 31.92 kB / 0.5676 GB, free: 13 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 (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.002238/0.4255, allocations: 1.147 MB / 0.5688 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.4258, allocations: 111.9 kB / 0.5689 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4258, allocations: 0 / 0.5689 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.4259, allocations: 55.91 kB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.4263, allocations: 21.36 kB / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.4288, allocations: 1.919 MB / 0.5708 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.4292, allocations: 0.7242 MB / 0.5715 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.873e-05/0.4293, allocations: 28.47 kB / 0.5716 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.217e-05/0.4294, allocations: 55.34 kB / 0.5716 GB, free: 8.984 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4294, allocations: 0 / 0.5716 GB, free: 8.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.4596, allocations: 3.814 MB / 0.5753 GB, free: 5.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.55, allocations: 3.938 kB / 0.5753 GB, free: 5.234 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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: 14.535932322964072]