Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",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.001269/0.001269, allocations: 104.5 kB / 17.63 MB, free: 5.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.001891/0.001891, allocations: 192 kB / 18.56 MB, free: 4.434 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.355/1.355, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2043/0.2043, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 65.3 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1076, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003955/0.1116, allocations: 1.568 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000916/0.1126, allocations: 391.3 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.672e-05/0.1127, allocations: 4 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.1129, allocations: 19.86 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.1132, allocations: 47.83 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.1135, allocations: 86.45 kB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1137, allocations: 55.84 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1138, allocations: 15.98 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.1139, allocations: 15.94 kB / 471.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.084e-05/0.114, allocations: 23.84 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.114, allocations: 8 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.935e-05/0.1141, allocations: 27.98 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.1142, allocations: 15.88 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.1142, allocations: 23.8 kB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.1144, allocations: 80.06 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1145, allocations: 0 / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1145, allocations: 0 / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1145, allocations: 0 / 471.7 MB, free: 11.89 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005343/0.115, allocations: 387.1 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1151, allocations: 12.03 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.4e-05/0.1151, allocations: 34.75 kB / 472.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.1151, allocations: 8.844 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.1153, allocations: 188.2 kB / 472.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1154, allocations: 384 / 472.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.1154, allocations: 4.375 kB / 472.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1155, allocations: 53.56 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1156, allocations: 8 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1156, allocations: 3.938 kB / 472.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1156, allocations: 0 / 472.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.408e-05/0.1157, allocations: 23.98 kB / 472.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.1161, allocations: 276.8 kB / 472.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.1163, allocations: 42.5 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.1164, allocations: 20.94 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.1164, allocations: 7.984 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1164, allocations: 30.56 kB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1164, allocations: 0 / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000554/0.117, allocations: 141.3 kB / 472.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.117, allocations: 51.41 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.1172, allocations: 164.2 kB / 473.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1173, allocations: 33.7 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.1173, allocations: 96.12 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.1174, allocations: 19.66 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.1174, allocations: 17.72 kB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1176, allocations: 322.8 kB / 473.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.976e-05/0.1176, allocations: 19.98 kB / 473.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/0.1177, allocations: 19.98 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.1178, allocations: 52.95 kB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1179, allocations: 4 kB / 473.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001824/0.118, allocations: 77.58 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1181, allocations: 8 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1181, allocations: 0 / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1181, allocations: 0 / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.1182, allocations: 11.98 kB / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1182, allocations: 4 kB / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.908e-05/0.1182, allocations: 4 kB / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1182, allocations: 7.922 kB / 473.8 MB, free: 9.543 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 (5): * Single equations (assignments): 5 * 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.0001039/0.1184, allocations: 117.8 kB / 473.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.445e-05/0.1184, allocations: 11.84 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.1186, allocations: 89.97 kB / 474 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1186, allocations: 0 / 474 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1187, allocations: 7.938 kB / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1187, allocations: 0 / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.1191, allocations: 354.4 kB / 474.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1191, allocations: 0 / 474.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.1192, allocations: 8 kB / 474.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1192, allocations: 0 / 474.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1192, allocations: 0 / 474.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.1192, allocations: 7.938 kB / 474.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1192, allocations: 7.984 kB / 474.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.1194, allocations: 179.6 kB / 474.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.1195, allocations: 81.02 kB / 474.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1195, allocations: 0 / 474.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.1196, allocations: 11.92 kB / 474.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.1196, allocations: 7.938 kB / 474.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.1196, allocations: 4 kB / 474.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1198, allocations: 127.2 kB / 474.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1198, allocations: 0 / 474.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.12, allocations: 19.98 kB / 474.8 MB, free: 8.422 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.00138/0.1214, allocations: 1.002 MB / 475.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.1216, allocations: 51.91 kB / 475.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1216, allocations: 3.938 kB / 475.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.717e-05/0.1217, allocations: 19.98 kB / 475.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1221, allocations: 26.48 kB / 475.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.1237, allocations: 1.461 MB / 477.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.124, allocations: 0.6924 MB / 478.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.036e-05/0.1241, allocations: 16.05 kB / 478.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.1241, allocations: 23.44 kB / 478.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1241, allocations: 0 / 478.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.1456, allocations: 2.48 MB / 480.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/8.384, allocations: 11.98 kB / 480.6 MB, free: 2.734 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches