Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",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.001157/0.001157, allocations: 104 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.001129/0.001129, allocations: 192.1 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.337/1.337, allocations: 222.9 MB / 242.2 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.2211/0.2211, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 64.02 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09717/0.0993, allocations: 60.81 MB / 469.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003281/0.1026, allocations: 1.59 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007368/0.1034, allocations: 419.1 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.1035, allocations: 4 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1037, allocations: 75.77 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.104, allocations: 59.81 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.1043, allocations: 115.7 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.1045, allocations: 67.89 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1047, allocations: 12.19 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.769e-05/0.1048, allocations: 43.77 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.1049, allocations: 55.81 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1049, allocations: 8 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.1051, allocations: 43.98 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.1051, allocations: 15.94 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.1052, allocations: 31.78 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.1054, allocations: 95.94 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1054, allocations: 0 / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1054, allocations: 0 / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1054, allocations: 0 / 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.0004988/0.1059, allocations: 413.8 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.106, allocations: 16.02 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.677e-05/0.106, allocations: 34.75 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.1061, allocations: 12.84 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.1063, allocations: 196.1 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1063, allocations: 4.375 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1063, allocations: 8.031 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1065, allocations: 53.67 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1065, allocations: 4 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1065, allocations: 0 / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1065, allocations: 3.984 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1066, allocations: 35.91 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.107, allocations: 296.8 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1071, allocations: 50.55 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.1072, allocations: 16.86 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1072, allocations: 4 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1073, allocations: 38.58 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.1073, allocations: 0 / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008973/0.1082, allocations: 229.1 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.1082, allocations: 55.34 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1084, allocations: 210.2 kB / 473.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1084, allocations: 25.7 kB / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.1085, allocations: 108 kB / 473.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.1085, allocations: 27.64 kB / 473.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.1086, allocations: 17.72 kB / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1087, allocations: 322.8 kB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.577e-05/0.1088, allocations: 35.97 kB / 474.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.769e-05/0.1089, allocations: 27.98 kB / 474.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.1091, allocations: 80.81 kB / 474.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1091, allocations: 3.938 kB / 474.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002157/0.1093, allocations: 109.5 kB / 474.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1093, allocations: 4 kB / 474.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1093, allocations: 8 kB / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1094, allocations: 0 / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1095, allocations: 15.98 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1095, allocations: 3.938 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.1095, allocations: 8 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1095, allocations: 4 kB / 474.4 MB, free: 8.988 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 9.402e-05/0.1096, allocations: 125.8 kB / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.1097, allocations: 11.91 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.11, allocations: 138.6 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.11, allocations: 4 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.11, allocations: 7.875 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.11, allocations: 0 / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.1106, allocations: 423.2 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1106, allocations: 3.938 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.1107, allocations: 12 kB / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1107, allocations: 0 / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1107, allocations: 4 kB / 475.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.1107, allocations: 7.922 kB / 475.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1107, allocations: 0 / 475.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.111, allocations: 212.3 kB / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.111, allocations: 88.95 kB / 475.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.111, allocations: 4.422 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.1111, allocations: 7.984 kB / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.1111, allocations: 4 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1112, allocations: 4 kB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1113, allocations: 155.2 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1113, allocations: 0 / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1116, allocations: 23.98 kB / 475.6 MB, free: 7.664 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.001395/0.113, allocations: 1.103 MB / 476.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.1132, allocations: 75.89 kB / 476.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1132, allocations: 0 / 476.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1133, allocations: 43.97 kB / 476.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.1137, allocations: 29.59 kB / 476.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.1155, allocations: 1.664 MB / 478.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1158, allocations: 0.7119 MB / 479.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.141e-05/0.1159, allocations: 20.64 kB / 479.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.1159, allocations: 35.36 kB / 479.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1159, allocations: 4 kB / 479.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.1356, allocations: 2.986 MB / 482.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.735, allocations: 9.453 kB / 482.3 MB, free: 1.094 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches