Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007147/0.0007147, allocations: 93.14 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007962/0.0007962, allocations: 172.2 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1992/0.1992, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 11 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1095, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.00178/0.1113, allocations: 1.332 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006843/0.112, allocations: 415.3 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.1121, allocations: 4 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.1123, allocations: 91.8 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.1125, allocations: 55.86 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1127, allocations: 111.3 kB / 474.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.1129, allocations: 91.73 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.113, allocations: 28.2 kB / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.126e-05/0.1131, allocations: 31.91 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.658e-05/0.1132, allocations: 47.83 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.1132, allocations: 4 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.399e-05/0.1133, allocations: 43.97 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.1133, allocations: 27.86 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.1134, allocations: 65.38 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1136, allocations: 115.6 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1136, allocations: 0 / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1136, allocations: 0 / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1136, allocations: 0 / 474.8 MB, free: 10.8 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004659/0.1141, allocations: 414.9 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1141, allocations: 8.031 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.353e-05/0.1142, allocations: 42.73 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.1142, allocations: 12.75 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.1144, allocations: 212 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1144, allocations: 4.375 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.1144, allocations: 4.375 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1146, allocations: 77.61 kB / 475.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1146, allocations: 3.984 kB / 475.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1147, allocations: 12 kB / 475.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1147, allocations: 0 / 475.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1148, allocations: 43.97 kB / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.1152, allocations: 344.6 kB / 476 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1154, allocations: 70.55 kB / 476 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.1154, allocations: 24.84 kB / 476 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.1155, allocations: 8.141 kB / 476.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1155, allocations: 30.56 kB / 476.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1155, allocations: 0 / 476.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001026/0.1165, allocations: 360.7 kB / 476.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.1166, allocations: 55.41 kB / 476.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.1168, allocations: 231.2 kB / 476.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1168, allocations: 29.7 kB / 476.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.1169, allocations: 120 kB / 476.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.1169, allocations: 51.38 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.117, allocations: 9.719 kB / 476.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.1171, allocations: 326.8 kB / 477.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.1172, allocations: 47.97 kB / 477.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.474e-05/0.1173, allocations: 54.72 kB / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.1175, allocations: 120.9 kB / 477.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1175, allocations: 0 / 477.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002595/0.1178, allocations: 161.5 kB / 477.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1178, allocations: 6.5 kB / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1178, allocations: 7.938 kB / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1178, allocations: 3.984 kB / 477.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1179, allocations: 23.98 kB / 477.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.118, allocations: 4.703 kB / 477.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.118, allocations: 8 kB / 477.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.118, allocations: 4 kB / 477.7 MB, free: 7.688 MB / 350.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 8.946e-05/0.1181, allocations: 137.8 kB / 477.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.1182, allocations: 23.8 kB / 477.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.1185, allocations: 200.4 kB / 478 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1185, allocations: 8 kB / 478 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1185, allocations: 3.938 kB / 478 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1185, allocations: 0 / 478 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005607/0.1191, allocations: 0.5029 MB / 478.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1191, allocations: 0 / 478.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.811e-05/0.1192, allocations: 31.97 kB / 478.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1192, allocations: 0 / 478.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1192, allocations: 4 kB / 478.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1192, allocations: 4 kB / 478.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1192, allocations: 0 / 478.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.1196, allocations: 264.1 kB / 478.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.1196, allocations: 89 kB / 478.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1197, allocations: 4 kB / 478.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.1197, allocations: 8 kB / 478.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.1198, allocations: 11.98 kB / 478.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1198, allocations: 4 kB / 479 MB, free: 6.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1199, allocations: 175.2 kB / 479.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1199, allocations: 0 / 479.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1202, allocations: 32 kB / 479.2 MB, free: 6.098 MB / 350.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.001457/0.1217, allocations: 1.142 MB / 480.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.1219, allocations: 123.9 kB / 480.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1219, allocations: 0 / 480.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.1221, allocations: 64.03 kB / 480.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.1224, allocations: 27.11 kB / 480.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.1243, allocations: 1.936 MB / 482.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.1246, allocations: 0.72 MB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.652e-05/0.1247, allocations: 32.52 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.691e-05/0.1247, allocations: 47.36 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1247, allocations: 0 / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/0.137, allocations: 3.07 MB / 486.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.1372, allocations: 235.4 kB / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/1.882, allocations: 0 / 486.5 MB, free: 14.84 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches