Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",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.001512/0.001512, allocations: 104.7 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.00194/0.00194, 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.286/1.286, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.1902/0.1902, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 72.98 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1032, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003166/0.1064, allocations: 1.553 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.108, allocations: 1.012 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.1081, allocations: 0 / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.1084, allocations: 35.84 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.1087, allocations: 35.84 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1089, allocations: 91.14 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.1091, allocations: 51.91 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1092, allocations: 23.91 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.808e-05/0.1093, allocations: 15.94 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.1094, allocations: 35.77 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1095, allocations: 8 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1096, allocations: 47.98 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.1096, allocations: 7.938 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.1097, allocations: 27.84 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.1099, allocations: 84.06 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1099, allocations: 0 / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1099, allocations: 0 / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1099, allocations: 0 / 472.4 MB, free: 11.22 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.000509/0.1104, allocations: 375.2 kB / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1105, allocations: 16.03 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.1105, allocations: 34.73 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.1105, allocations: 8.844 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.1108, allocations: 188.2 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1108, allocations: 4.375 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.1108, allocations: 4.375 kB / 473 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.111, allocations: 67.33 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.111, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.111, allocations: 7.938 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.111, allocations: 3.984 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.93e-05/0.1111, allocations: 23.92 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.1115, allocations: 268.9 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.1117, allocations: 42.56 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.1117, allocations: 20.94 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1118, allocations: 0 / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1118, allocations: 38.5 kB / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1118, allocations: 0 / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005331/0.1123, allocations: 137.3 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.1124, allocations: 85.11 kB / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1125, allocations: 137.8 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1126, allocations: 25.7 kB / 473.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.1126, allocations: 96.06 kB / 473.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.1126, allocations: 11.81 kB / 473.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.1127, allocations: 13.72 kB / 474 MB, free: 9.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1128, allocations: 326.8 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.1129, allocations: 19.98 kB / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.877e-05/0.113, allocations: 33.7 kB / 474.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.1131, allocations: 48.83 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1131, allocations: 0 / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001849/0.1133, allocations: 77.52 kB / 474.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1133, allocations: 7.938 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1133, allocations: 4 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1134, allocations: 4.031 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.1134, allocations: 11.98 kB / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1134, allocations: 256 / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/0.1135, allocations: 4 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.1135, allocations: 7.938 kB / 474.5 MB, free: 8.859 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 8.128e-05/0.1136, allocations: 113.8 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.1136, allocations: 11.89 kB / 474.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.1139, allocations: 97.56 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1139, allocations: 0 / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1139, allocations: 0 / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.1139, allocations: 0 / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.1143, allocations: 342.5 kB / 475 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1143, allocations: 0 / 475 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.384e-05/0.1144, allocations: 15.98 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1144, allocations: 4 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1144, allocations: 7.938 kB / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1144, allocations: 3.938 kB / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1144, allocations: 0 / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.1146, allocations: 175.4 kB / 475.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.1147, allocations: 81.02 kB / 475.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.1147, allocations: 0 / 475.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.1148, allocations: 11.94 kB / 475.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.1148, allocations: 7.984 kB / 475.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.1148, allocations: 0 / 475.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.784e-05/0.1149, allocations: 109.9 kB / 475.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1149, allocations: 0 / 475.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.1152, allocations: 23.98 kB / 475.5 MB, free: 7.77 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.001353/0.1165, allocations: 1.045 MB / 476.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.1168, allocations: 55.91 kB / 476.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1168, allocations: 0 / 476.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.1169, allocations: 31.91 kB / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.1172, allocations: 23.34 kB / 476.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.1187, allocations: 1.38 MB / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1189, allocations: 0.6885 MB / 478.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.639e-05/0.119, allocations: 7.984 kB / 478.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.1191, allocations: 23.44 kB / 478.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1191, allocations: 0 / 478.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.1399, allocations: 2.661 MB / 481.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.328, allocations: 10.77 kB / 481.4 MB, free: 1.961 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches