Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",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.001474/0.001474, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001606/0.001607, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.397/1.397, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2145/0.2145, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 73.28 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1157, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003392/0.1191, allocations: 1.572 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008537/0.12, allocations: 415.2 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.89e-05/0.1201, allocations: 3.938 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.1204, allocations: 79.77 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.1206, allocations: 67.73 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.1209, allocations: 102.5 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.1211, allocations: 71.83 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1212, allocations: 24.16 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.54e-05/0.1213, allocations: 35.86 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1214, allocations: 51.88 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1215, allocations: 3.938 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1216, allocations: 43.98 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.1216, allocations: 19.98 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.1217, allocations: 31.73 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.1219, allocations: 99.88 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1219, allocations: 0 / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.1219, allocations: 4 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.1219, allocations: 3.984 kB / 472 MB, free: 11.65 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005002/0.1224, allocations: 402 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1225, allocations: 12.03 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.1225, allocations: 30.75 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.1225, allocations: 12.84 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.1227, allocations: 200.1 kB / 472.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1227, allocations: 4.375 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.1228, allocations: 12.03 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1229, allocations: 57.61 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.123, allocations: 0 / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-06/0.123, allocations: 0 / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.123, allocations: 7.938 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.913e-05/0.1231, allocations: 27.97 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.1235, allocations: 304.7 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1236, allocations: 50.5 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.1237, allocations: 20.94 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1237, allocations: 0 / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1237, allocations: 34.56 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1237, allocations: 0 / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008978/0.1246, allocations: 233.1 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.1247, allocations: 55.34 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1249, allocations: 210.2 kB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1249, allocations: 29.7 kB / 473.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.125, allocations: 104 kB / 473.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.125, allocations: 23.66 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.125, allocations: 25.7 kB / 473.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1252, allocations: 322.8 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.267e-05/0.1252, allocations: 27.98 kB / 474.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.602e-05/0.1253, allocations: 39.91 kB / 474.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1255, allocations: 72.89 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1255, allocations: 3.938 kB / 474.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002096/0.1257, allocations: 109.5 kB / 474.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1257, allocations: 4 kB / 474.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1257, allocations: 0 / 474.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1258, allocations: 0 / 474.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/0.1259, allocations: 23.98 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1259, allocations: 7.875 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.1259, allocations: 7.984 kB / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1259, allocations: 4 kB / 474.4 MB, free: 8.992 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 (8): * Single equations (assignments): 8 * 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.525e-05/0.126, allocations: 125.8 kB / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.1261, allocations: 7.906 kB / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.1263, allocations: 130.4 kB / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1264, allocations: 4 kB / 474.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1264, allocations: 3.938 kB / 474.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1264, allocations: 4 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.1269, allocations: 419.6 kB / 475.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.1269, allocations: 3.938 kB / 475.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.991e-05/0.127, allocations: 27.95 kB / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.127, allocations: 0 / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.127, allocations: 0 / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.127, allocations: 4 kB / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.127, allocations: 0 / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.1273, allocations: 208.3 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.1273, allocations: 100.9 kB / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1273, allocations: 0 / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.1274, allocations: 8 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1275, allocations: 12.34 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1275, allocations: 0 / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1276, allocations: 155.2 kB / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1276, allocations: 0 / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1279, allocations: 20 kB / 475.6 MB, free: 7.672 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 (8): * Single equations (assignments): 8 * 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.001529/0.1294, allocations: 1.105 MB / 476.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.1297, allocations: 75.89 kB / 476.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1297, allocations: 0 / 476.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.1298, allocations: 39.92 kB / 476.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.1302, allocations: 23.98 kB / 476.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.132, allocations: 1.66 MB / 478.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.1323, allocations: 0.7158 MB / 479.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.084e-05/0.1324, allocations: 20.94 kB / 479.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.1325, allocations: 39.45 kB / 479.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1325, allocations: 3.938 kB / 479.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.153, allocations: 3.001 MB / 482.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/7.698, allocations: 3.984 kB / 482.3 MB, free: 1.094 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches