Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1",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.001278/0.001284, allocations: 104 kB / 16.4 MB, free: 6.449 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.001357/0.001357, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2003/0.2003, allocations: 43.53 MB / 314.1 MB, free: 440 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001352, allocations: 74.02 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1135, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.003043/0.1166, allocations: 1.547 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00065/0.1173, allocations: 327.5 kB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.1174, allocations: 0 / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.1176, allocations: 27.86 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.1178, allocations: 39.72 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.1181, allocations: 95.8 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.1183, allocations: 55.84 kB / 0.4894 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1184, allocations: 15.98 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.025e-05/0.1184, allocations: 23.86 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.053e-05/0.1185, allocations: 19.91 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1185, allocations: 4 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.791e-05/0.1186, allocations: 28 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.1187, allocations: 15.92 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.1187, allocations: 15.88 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.1189, allocations: 83.66 kB / 0.4896 GB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1189, allocations: 0 / 0.4896 GB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1189, allocations: 0 / 0.4896 GB, free: 9.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1189, allocations: 0 / 0.4896 GB, free: 9.961 MB / 382.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.0004351/0.1194, allocations: 375.2 kB / 0.49 GB, free: 9.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1194, allocations: 11.89 kB / 0.49 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.1195, allocations: 34.75 kB / 0.49 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.1195, allocations: 4.844 kB / 0.49 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.1197, allocations: 184.3 kB / 0.4902 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1197, allocations: 8.375 kB / 0.4902 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1197, allocations: 4.375 kB / 0.4902 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.1199, allocations: 53.56 kB / 0.4903 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1199, allocations: 0 / 0.4903 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1199, allocations: 0 / 0.4903 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.1199, allocations: 0 / 0.4903 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.123e-05/0.12, allocations: 27.97 kB / 0.4903 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.1204, allocations: 284.8 kB / 0.4906 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.1206, allocations: 50.5 kB / 0.4906 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.1206, allocations: 16.94 kB / 0.4906 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.1207, allocations: 0 / 0.4906 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1207, allocations: 30.56 kB / 0.4907 GB, free: 8.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1207, allocations: 0 / 0.4907 GB, free: 8.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005221/0.1212, allocations: 153.3 kB / 0.4908 GB, free: 8.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.1213, allocations: 51.41 kB / 0.4909 GB, free: 8.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.1214, allocations: 141.8 kB / 0.491 GB, free: 8.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.1214, allocations: 25.7 kB / 0.491 GB, free: 8.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.1215, allocations: 100.1 kB / 0.4911 GB, free: 8.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.1215, allocations: 27.64 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.1216, allocations: 17.72 kB / 0.4912 GB, free: 8.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.1217, allocations: 322.8 kB / 0.4915 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.779e-05/0.1217, allocations: 19.98 kB / 0.4915 GB, free: 7.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.869e-05/0.1218, allocations: 24.05 kB / 0.4915 GB, free: 7.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1219, allocations: 60.7 kB / 0.4916 GB, free: 7.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1219, allocations: 0 / 0.4916 GB, free: 7.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001754/0.1221, allocations: 89.56 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1221, allocations: 4 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1222, allocations: 4 kB / 0.4917 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1222, allocations: 0 / 0.4917 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.1222, allocations: 11.98 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1223, allocations: 3.984 kB / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/0.1223, allocations: 4 kB / 0.4917 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1223, allocations: 3.938 kB / 0.4917 GB, free: 7.621 MB / 382.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 7.988e-05/0.1224, allocations: 129.8 kB / 0.4918 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.1224, allocations: 0 / 0.4918 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.1227, allocations: 101.8 kB / 0.4919 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1227, allocations: 0 / 0.4919 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1227, allocations: 0 / 0.4919 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1227, allocations: 0 / 0.4919 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.1231, allocations: 354.8 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1231, allocations: 4 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.1232, allocations: 19.98 kB / 0.4923 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1232, allocations: 0 / 0.4923 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.1232, allocations: 0 / 0.4923 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.1232, allocations: 3.938 kB / 0.4923 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1232, allocations: 0 / 0.4923 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.1234, allocations: 187.4 kB / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.1235, allocations: 77.11 kB / 0.4925 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.1235, allocations: 4 kB / 0.4925 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/0.1235, allocations: 3.938 kB / 0.4925 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.1236, allocations: 7.984 kB / 0.4925 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.1236, allocations: 0 / 0.4925 GB, free: 6.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.578e-05/0.1237, allocations: 119.1 kB / 0.4927 GB, free: 6.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1237, allocations: 0 / 0.4927 GB, free: 6.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.1239, allocations: 19.98 kB / 0.4927 GB, free: 6.5 MB / 382.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.001205/0.1251, allocations: 1.008 MB / 0.4937 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1254, allocations: 55.89 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1254, allocations: 4 kB / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.1254, allocations: 23.98 kB / 0.4937 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1258, allocations: 23.86 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.1272, allocations: 1.425 MB / 0.4952 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.1275, allocations: 0.6962 MB / 0.4958 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.988e-05/0.1276, allocations: 15.98 kB / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.1276, allocations: 27.36 kB / 0.4959 GB, free: 3.133 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1276, allocations: 0 / 0.4959 GB, free: 3.133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.146, allocations: 2.494 MB / 0.4983 GB, free: 0.625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/7.652, allocations: 7.844 kB / 0.4983 GB, free: 0.6172 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches